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

Enable state publish integration tests. #3290

Merged
merged 3 commits into from
May 8, 2024

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented May 7, 2024

TaskDX-2739 Enable `state publish` integration tests.

Publish under 'private/ActiveState-CLI-Testing/' namespace for each test run.

@mitchell-as mitchell-as force-pushed the mitchell/dx-2739 branch 7 times, most recently from b9c3a27 to a497515 Compare May 7, 2024 20:25
Publish under 'private/ActiveState-CLI-Testing/<UUID>' namespace for each test run.
@mitchell-as mitchell-as requested a review from Naatan May 7, 2024 21:10
@mitchell-as mitchell-as marked this pull request as ready for review May 7, 2024 21:10
Copy link
Member

@Naatan Naatan left a comment

Choose a reason for hiding this comment

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

Looks ok to me, just one minor thing.

@@ -462,6 +466,8 @@ authors:
}
})
}

ts.IgnoreLogErrors()
Copy link
Member

Choose a reason for hiding this comment

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

What is this ignoring? Please add a comment if we truly want this.

Copy link
Contributor Author

@mitchell-as mitchell-as May 7, 2024

Choose a reason for hiding this comment

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

There are test cases that test failures, like omitting a filename or being unable to edit a description. These expected failures will be written to the log and cause nightly integration failures.

We have similar precedent for other integration tests that induce failures and verify that they actually do fail (and gracefully).

I've added a comment.

@mitchell-as mitchell-as requested a review from Naatan May 7, 2024 21:17
@mitchell-as mitchell-as merged commit e0de00a into version/0-45-0-RC1 May 8, 2024
7 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-2739 branch May 8, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants