]> git.giacomolli.uk - onechat/blobdiff - turn_test.go
Keep retries after a rejected pair request
[onechat] / turn_test.go
index 4f29cd4454ecec8a48d1b9878d29b7566b14a1b0..9bb0e995d5b66393d8c5b46fdeb2480e50e8a233 100644 (file)
@@ -222,7 +222,7 @@ func TestFailedCallEndsTheTurnWithoutARetry(t *testing.T) {
        require.Equal(t, 1, server.Calls())
        require.Contains(t, test.events.Last("error"), "HTTP 503")
        require.Equal(t, 1, strings.Count(test.logs.String(), "\n"))
-       require.Contains(t, test.logs.String(), "the turn stops before its end, and the agent waits for the next message: ")
+       require.Contains(t, test.logs.String(), "turn failed: ")
        require.Contains(t, test.logs.String(), "HTTP 503")
        require.NotContains(t, test.logs.String(), "hello")
 }