Skip to content

Commit

Permalink
fix rpc test
Browse files Browse the repository at this point in the history
  • Loading branch information
arttor committed Jan 25, 2024
1 parent 8aa3aa1 commit 3620cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rpc/agent_redis_request_reply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestAgent(t *testing.T) {
_ = AgentServe(ctx, c, "agent3", "s3")
}()
tst := AgentClient{c}
time.Sleep(time.Millisecond * 50)
time.Sleep(50 * time.Millisecond)
res, err := tst.Ping(ctx)
r.NoError(err)
res, err = tst.Ping(ctx)
Expand Down

0 comments on commit 3620cf0

Please sign in to comment.