Class com.stkouyu.MockServerIntegrationTest
Tests
| Test |
Duration |
Result |
| cancelAbortsAHangingRequest |
0.404s |
passed |
| chineseOpenQuestionFileEvaluation |
0.519s |
passed |
| chineseOpenQuestionStreamsWithoutReadingProgress |
0.236s |
passed |
| droppedConnectionIsRetried |
0.162s |
passed |
| exhaustedRetriesAre20009AndAutoRetryRecovers |
1.664s |
passed |
| existsAudioTransOfWavFile |
0.110s |
passed |
| inFlightRetryWaitsForTheFirstResultAndIsReplayed |
1.656s |
passed |
| injected400IsNotRetried |
0.114s |
passed |
| injected500ThenSuccessBillsOnceWithTheSameKey |
0.370s |
passed |
| microphoneRecordingWithShadowAudioRecord |
0.536s |
passed |
| rateLimitHonoursRetryAfter |
1.175s |
passed |
| readTimeoutRetryReplaysAndBillsOnce |
1.656s |
passed |
| skEgnEmulationAgainstTheMock |
0.136s |
passed |
| streamFeedOfFixtureGivesTheEnvelope |
0.134s |
passed |
| unsupportedCoreTypeNeedsNoNetwork |
0.265s |
passed |
| wrongSecretIsASignatureError |
0.168s |
passed |
Standard error
W/YuguStCompat: evaluation failed tokenId=490648ff2a1f424e8fcd6a5d66a06053 errId=2003: 签名验证失败
W/YuguStCompat: realtime channel failed before end (cannot open the realtime channel: ConnectException realtime channel refused (unit test default)); tokenId 2f1390df06724424bc314d1fc67766a1 is evaluated over REST instead
W/YuguStCompat: startRecord rejected (errId 60003): 不支持的评测内核:sent.eval.fr
W/YuguStCompat: retry 1/2 in 227 ms: TIMEOUT
W/YuguStCompat: retry 1/2 in 1000 ms: HTTP 429 code=42900
W/YuguStCompat: evaluation failed tokenId=7844c671b05f404da49175fdb690e0e7 errId=40001: mock fault 400
W/YuguStCompat: retry 1/2 in 227 ms: TIMEOUT
W/YuguStCompat: retry 1/2 in 227 ms: HTTP 503 code=50000
W/YuguStCompat: retry 2/2 in 444 ms: HTTP 503 code=50000
W/YuguStCompat: evaluation failed tokenId=eb6d5f853e67435bb2e89bd5a8c133e4 errId=20009: 网络或服务端临时故障,可重评,autoRetry 默认重评此码: HTTP 503 code=50000 mock fault 503 (attempts 3)
W/YuguStCompat: retry 1/2 in 177 ms: HTTP 500 code=50000
W/YuguStCompat: retry 2/2 in 346 ms: HTTP 500 code=50000
W/YuguStCompat: autoRetry 1/2 for errId 20009 in 220 ms, same tokenId 78ae65d4f74546cc856bac23c10ff0f3
W/YuguStCompat: retry 1/2 in 227 ms: HTTP 500 code=50000