Skip to content

Commit f8e2211

Browse files
committed
put back test constraint
1 parent e7a80ee commit f8e2211

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sample-operators/leader-election/src/test/java/io/javaoperatorsdk/operator/sample/LeaderElectionE2E.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import org.junit.jupiter.api.AfterEach;
1515
import org.junit.jupiter.api.BeforeEach;
1616
import org.junit.jupiter.api.Test;
17+
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
1718
import org.slf4j.Logger;
1819
import org.slf4j.LoggerFactory;
1920

@@ -46,7 +47,7 @@ class LeaderElectionE2E {
4647

4748
@Test
4849
// not for local mode by design
49-
// @EnabledIfSystemProperty(named = "test.deployment", matches = "remote")
50+
@EnabledIfSystemProperty(named = "test.deployment", matches = "remote")
5051
void otherInstancesTakesOverWhenSteppingDown() {
5152
log.info("Deploying operator");
5253
deployOperatorsInOrder();

0 commit comments

Comments
 (0)