Skip to content

Commit

Permalink
update test doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aratz M. Lasa committed May 29, 2023
1 parent dc8207a commit a9db76d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/leaderregistry/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,9 @@ func TestRemoteServerTimeout(t *testing.T) {

// We ensure that the actor invocation reaches two different servers, thus verifying that at least one
// of the requests went over the network. We use the "ctx-timeout-check" operation to propagate the
// context deadline as a payload to the actor invocation.
// context deadline as a payload to the actor invocation. The environment used for the test is created
// with the ForceRemoteProcedureCalls option enabled. This ensures that even localhost calls are done
// using HTTP, allowing us to validate network communication between different servers.
require.Eventually(t, func() bool {
deadline, _ := ctx.Deadline()
_, err := server1.InvokeActor(
Expand Down

0 comments on commit a9db76d

Please sign in to comment.