Disable flaky tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016-2020 the original author or authors.
|
||||
* Copyright 2016-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -17,6 +17,7 @@ package org.springframework.statemachine.buildtests;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -33,6 +34,7 @@ import org.springframework.statemachine.uml.UmlStateMachineModelFactory;
|
||||
|
||||
public class EndSmokeTests extends AbstractBuildTests {
|
||||
|
||||
@Disabled("This test fails intermittently") // FIXME check and fix intermittent failure
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void testEndState() throws Exception {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016-2020 the original author or authors.
|
||||
* Copyright 2016-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,6 +22,7 @@ import static org.springframework.statemachine.TestUtils.resolveMachine;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -291,6 +292,7 @@ public class StateDoActivityActionTests extends AbstractStateMachineTests {
|
||||
assertThat(testActionS2.interruptedLatch.await(2, TimeUnit.SECONDS)).isTrue();
|
||||
}
|
||||
|
||||
@Disabled("This test fails intermittently") // FIXME check and fix intermittent failure
|
||||
@Test
|
||||
public void testStateDoActionNotCancelledWithConfigTimeout() throws Exception {
|
||||
context.register(Config6.class);
|
||||
|
||||
Reference in New Issue
Block a user