Skip to content

Commit

Permalink
Skip EnforcementFlowTest.updateDoNotGetReordered.
Browse files Browse the repository at this point in the history
The test is failing only on Github.

Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
  • Loading branch information
yufei-cai authored and thjaeckle committed Mar 18, 2022
1 parent 66d23e5 commit 80ba05d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
import org.eclipse.ditto.thingsearch.service.persistence.write.model.Metadata;
import org.eclipse.ditto.thingsearch.service.persistence.write.model.ThingDeleteModel;
import org.eclipse.ditto.thingsearch.service.persistence.write.model.ThingWriteModel;
import org.hamcrest.Matchers;
import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Test;
Expand Down Expand Up @@ -596,6 +598,7 @@ public void onlyApplyRelevantEvents() {

@Test
public void updatesDoNotGetReordered() {
Assume.assumeThat(System.getProperty("build.environment"), Matchers.not(Matchers.equalTo("Github")));
new TestKit(system) {{
final DittoHeaders headers = DittoHeaders.empty();
final PolicyId policyId = PolicyId.of("policy:id");
Expand Down

0 comments on commit 80ba05d

Please sign in to comment.