Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette committed May 6, 2024
1 parent cddb529 commit 334df9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions http_comms/websocket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ func (self *TestSuite) TestWebSocketRetry() {
"Exceeded retry times for reader",
"Waiting for a reachable server:"))

logging.ClearMemoryLogs()

// Wait for reconnection
vtesting.WaitUntil(2*time.Second, self.T(), func() bool {
return strings.Contains(getMemoryLogs(), "Installing connector")
Expand All @@ -91,7 +89,7 @@ func (self *TestSuite) TestWebSocketRetry() {
server_cancel()
ws_connections_factory.Shutdown()

// The client will try connecting 3 times and then give up
// The client will try connecting 3 times and then give up and back off
vtesting.WaitUntil(10*time.Second, self.T(), func() bool {
logs := getMemoryLogs()
return matchMultipleRegex(logs,
Expand Down

0 comments on commit 334df9c

Please sign in to comment.