-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
b9c3a27
to
a497515
Compare
Publish under 'private/ActiveState-CLI-Testing/<UUID>' namespace for each test run.
a497515
to
3b42304
Compare
There was a problem hiding this 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.
test/integration/publish_int_test.go
Outdated
@@ -462,6 +466,8 @@ authors: | |||
} | |||
}) | |||
} | |||
|
|||
ts.IgnoreLogErrors() |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Publish under 'private/ActiveState-CLI-Testing/' namespace for each test run.