Skip to content

Commit

Permalink
Try to fix flakiness with this test (#518)
Browse files Browse the repository at this point in the history
* Try to fix flakiness with this test

* wip
  • Loading branch information
DanG100 authored Jan 8, 2025
1 parent 3834282 commit bdbdf90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sysrib/zapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ func testRouteRedistribution(t *testing.T, routeReadyBeforeDial bool) {
}
}

conn.SetReadDeadline(time.Now().Add(30 * time.Second))
// TODO: see if large timeout helps flakiness
conn.SetReadDeadline(time.Now().Add(10 * time.Second))
m, err := zebra.ReceiveSingleMsg(topicLogger, conn, version, software, "test-client")
if tt.inExpectTimeout {
if err == nil {
Expand Down

0 comments on commit bdbdf90

Please sign in to comment.