We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb2710 commit a393b33Copy full SHA for a393b33
1 file changed
plugin/src/test/java/jenkins/plugins/openstack/compute/ProvisioningTest.java
@@ -415,7 +415,8 @@ public void reportOfflineCauseInCloudStats() throws Exception {
415
List<PhaseExecutionAttachment> attachments = pa.getPhaseExecution(ProvisioningActivity.Phase.COMPLETED).getAttachments();
416
assertThat(attachments, Matchers.iterableWithSize(1));
417
PhaseExecutionAttachment att = attachments.get(0);
418
- assertEquals("42 B out of 0 []B left on /Fake/it.", att.getTitle());
+ String expected = "42 B out of 0 []B left on /Fake/it.";
419
+ assertEquals(expected, att.getTitle());
420
421
slave = j.provision(cloud, "label");
422
Thread.sleep(200); // This relies on being past the startTimeout
0 commit comments