The origins of the kahs-wan originated from the ancient Vulcan warrior days. When the Vulcans turned to logic, they reasoned that they needed to maintain the tests of courage and strength to keep pure logic from making them weak and helpless. For a Vulcan, to fail the kahs-wan once was not considered a disgrace.
Spock was scheduled to face the kahs-wan ordeal on the 20th day of the month of Tasmeen in the Vulcan year of 8877. However, he decided to take the trial early. His pet sehlat, I-Chaya, insisted on accompanying him and died from the poisonous bite of a le-matya. (TAS: "Yesteryear")