transcendental-lisp/fitnesse/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/SlimConnectionTimeout/content.txt

17 lines
664 B
Plaintext
Raw Normal View History

For this test to perform we reduce the timeout to 1 second. If the server is not responding in time, we should raise an error.
#!define slim.timeout {2}
#!define SLIM_PORT {8099}
#!define TEST_RUNNER {fitnesse.slim.test.Sleep}
#|fitnesse.fixtures.Sleep|20000|
!| script |
|given page|TestPage|with content|${SUT_PATH} !-
!define TEST_SYSTEM {slim}
!define SLIM_PORT {8099}
!define slim.timeout {1}
!define TEST_RUNNER {fitnesse.slim.test.Sleep}
|fitnesse.fixtures.Sleep|20000|
-! |
|test results for page|TestPage|should contain|Unable to start test system 'slim': fitnesse.slim.SlimError: Error connecting to SLiM server on localhost:|