forked from lavanet/lava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The e2e timeout was inconsistent: First, "go test" default timeout is 10 minutes, which it can be changed using "go test -timeout ...". However, the e2e test internally runs another "go test" without any argument, so even if the user specified a longer timeout for the test, the latter would fail within the default timeout. Second, in at least one place the timeout was hard-coded fixed to 10 minutes. This is fixed by settings the timeout the intenral "go test" to zero, and then insteead settings the context.WithTimeout to the timeout requested by the user.
- Loading branch information
1 parent
99b1d2e
commit b376274
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters