Search in sources :

Example 1 with RecordingCodeInvariants

use of com.netflix.titus.common.util.code.RecordingCodeInvariants in project titus-control-plane by Netflix.

the class ServiceJobSchedulingTest method tearDown.

@After
public void tearDown() {
    RecordingCodeInvariants invariants = (RecordingCodeInvariants) jobsScenarioBuilder.getTitusRuntime().getCodeInvariants();
    assertThat(invariants.getViolations()).describedAs("Invariant violations found").isEmpty();
}
Also used : RecordingCodeInvariants(com.netflix.titus.common.util.code.RecordingCodeInvariants) After(org.junit.After)

Aggregations

RecordingCodeInvariants (com.netflix.titus.common.util.code.RecordingCodeInvariants)1 After (org.junit.After)1