Skip to content

Commit 3aae9ea

Browse files
ffranrguggero
authored andcommitted
itest: configure timeout for tapd harness universe courier service
Set the request timeout for the tapd harness universe courier service to an appropriate value to ensure tests pass consistently.
1 parent c38f651 commit 3aae9ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

itest/tapd_harness.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ func newTapdHarness(t *testing.T, ht *harnessTest, cfg tapdConfig,
270270
BackoffCfg: &hashmailBackoffCfg,
271271
}
272272
finalCfg.UniverseRpcCourier = &proof.UniverseRpcCourierCfg{
273-
BackoffCfg: &universeRpcBackoffCfg,
273+
BackoffCfg: &universeRpcBackoffCfg,
274+
ServiceRequestTimeout: 50 * time.Millisecond,
274275
}
275276

276277
switch typedProofCourier := (opts.proofCourier).(type) {

0 commit comments

Comments
 (0)