Skip to content

Commit

Permalink
Can restore assertion in JNLPLauncherRealTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Dec 8, 2023
1 parent c6d02b4 commit d24f3fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/src/test/java/hudson/slaves/JNLPLauncherRealTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;

import hudson.ExtensionList;
import hudson.PluginWrapper;
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
Expand Down Expand Up @@ -96,6 +97,7 @@ public void run(JenkinsRule r) throws Throwable {
for (PluginWrapper plugin : r.jenkins.pluginManager.getPlugins()) {
System.err.println(plugin + " active=" + plugin.isActive() + " enabled=" + plugin.isEnabled());
}
assertThat(ExtensionList.lookupSingleton(JNLPLauncher.DescriptorImpl.class).isWebSocketSupported(), is(true));
Slave agent = (Slave) r.jenkins.getNode(agentName);
FreeStyleProject p = r.createFreeStyleProject();
p.setAssignedNode(agent);
Expand Down

0 comments on commit d24f3fb

Please sign in to comment.