Skip to content

Commit a393b33

Browse files
committed
fixup! Fix reportOfflineCauseInCloudStats
1 parent 2bb2710 commit a393b33

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugin/src/test/java/jenkins/plugins/openstack/compute/ProvisioningTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ public void reportOfflineCauseInCloudStats() throws Exception {
415415
List<PhaseExecutionAttachment> attachments = pa.getPhaseExecution(ProvisioningActivity.Phase.COMPLETED).getAttachments();
416416
assertThat(attachments, Matchers.iterableWithSize(1));
417417
PhaseExecutionAttachment att = attachments.get(0);
418-
assertEquals("42 B out of 0 []B left on /Fake/it.", att.getTitle());
418+
String expected = "42 B out of 0 []B left on /Fake/it.";
419+
assertEquals(expected, att.getTitle());
419420

420421
slave = j.provision(cloud, "label");
421422
Thread.sleep(200); // This relies on being past the startTimeout

0 commit comments

Comments
 (0)