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

[JENKINS-52165] Do not enable watch mode automatically in tests #96

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 23, 2019

Besides the original discussion in #84 (comment), I found that watch mode was being activated in JFR “serverless” builds, including Jenkins X in --prow mode, due to this questionable behavior. Probably less surprising to enable watch mode only when tests explicitly ask for it.

I considered making some of these test suites Parameterized but they were already pretty long-running and it looked complicated: some tests only make sense in watch mode or vice-versa, so was not sure whether this would be desirable.

@jglick jglick requested a review from dwnusbaum January 23, 2019 17:07
@@ -463,114 +464,10 @@ private Object writeReplace() {
}
}

@Ignore("TODO too flaky to run in CI")
@Issue("JENKINS-38381")
@Test public void remoteVoluminousLogger() throws Exception {
Copy link
Member Author

Choose a reason for hiding this comment

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

Turned out to be too hard to make this be meaningful in a functional test; giving up on it for now.

@dwnusbaum dwnusbaum merged commit 225ff33 into jenkinsci:master Jan 23, 2019
@jglick jglick deleted the USE_WATCHING-isUnitTest branch January 23, 2019 19:54
@jglick
Copy link
Member Author

jglick commented Jan 24, 2019

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