Skip to content

Commit bad00ba

Browse files
dbyron-sfPranav-b-7
authored andcommitted
fix(qos/test): fix syntax in DefaultExecutionPromoterTest (spinnaker#4577)
so tests actually run
1 parent e1be772 commit bad00ba

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

orca-qos/src/test/kotlin/com/netflix/spinnaker/orca/qos/DefaultExecutionPromoterTest.kt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ class DefaultExecutionPromoterTest : SubjectSpek<DefaultExecutionPromoter>({
7373

7474
on("promote schedule") {
7575
subject.tick()
76+
}
7677

77-
it("promotes all policy-selected candidate executions via status update") {
78-
assertThat(execution1.status).isEqualTo(NOT_STARTED)
79-
assertThat(execution2.status).isEqualTo(NOT_STARTED)
80-
verify(executionRepository).updateStatus(execution1)
81-
verify(executionRepository).updateStatus(execution2)
82-
}
78+
it("promotes all policy-selected candidate executions via status update") {
79+
assertThat(execution1.status).isEqualTo(NOT_STARTED)
80+
assertThat(execution2.status).isEqualTo(NOT_STARTED)
81+
verify(executionRepository).updateStatus(execution1)
82+
verify(executionRepository).updateStatus(execution2)
83+
}
8384

84-
it("starts the executions immediately") {
85-
verify(executionLauncher).start(execution1)
86-
verify(executionLauncher).start(execution2)
87-
verifyNoMoreInteractions(executionLauncher)
88-
}
85+
it("starts the executions immediately") {
86+
verify(executionLauncher).start(execution1)
87+
verify(executionLauncher).start(execution2)
88+
verifyNoMoreInteractions(executionLauncher)
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)