Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use e2e.Runtime*TimeoutOpt where reasonable. #3521

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented Oct 2, 2024

TaskDX-3070 Audit integration test usage of `termtest.OptExpectTimeout()` and use constants where possible

@mitchell-as
Copy link
Contributor Author

The lone test failure is a sporadic issue and unrelated to this PR.

@mitchell-as mitchell-as requested a review from MDrakos October 2, 2024 13:03
@mitchell-as mitchell-as marked this pull request as ready for review October 2, 2024 13:03
@@ -182,7 +182,7 @@ func (suite *ActivateIntegrationTestSuite) TestActivatePythonByHostOnly() {
if runtime.GOOS == "linux" {
cp.Expect("Creating a Virtual Environment")
cp.Expect("Activated", e2e.RuntimeSourcingTimeoutOpt)
cp.ExpectInput(termtest.OptExpectTimeout(40 * time.Second))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is another timeout right above this one so seems odd we would need another here just for the input expect.

@mitchell-as mitchell-as closed this Oct 2, 2024
@mitchell-as mitchell-as reopened this Oct 2, 2024
@mitchell-as mitchell-as merged commit 99fbb8f into version/0-47-0-RC1 Oct 2, 2024
26 of 47 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-3070 branch October 2, 2024 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants