Sha256: eae0c96bf3165de194383f67e42fe0748e4631a8500124518d9034236aa5784f

Contents?: true

Size: 1004 Bytes

Versions: 8

Compression:

Stored size: 1004 Bytes

Contents

!2 Once a connection to the socket is established the Slim Server must send a header message.
Use the property slim.timeout to define how long the test system should wait for the slim client. The default is 10 seconds.

We start the test system Slim but connect to the fitnesse wiki server instead of starting a valid slim server
As a result we can connect to a socket but never get a Slim Header message.
After slim.timeout seconds we should abort and stop the test.

!| script |
| create page | TestPage | with content | !-

!define TEST_SYSTEM {SLIM}
!define slim.timeout {1}
!define slim.pool.size (1)
!define SLIM_PORT (-!${FITNESSE_PORT}!-)
!define MANUALLY_START_TEST_RUNNER_ON_DEBUG {true}
!define SLIM_FLAGS (-v)
-! |
| check | request page | TestPage?test&remote_debug | 200 |
| ensure | content contains | TEST_SYSTEM=SLIM|
| #show | content |
| check | request page | TestPage?executionLog| 200 |
|ensure |content contains |Timeout while reading slim header from client.|
| #show | content |

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/TestSystemSlimSuite/ErrorSituationsDuringSlimServerStartup/A_TimeoutAsSlimHeaderNotReceived/content.txt