diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-29 14:26:02 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-29 14:26:02 +0200 |
commit | 7312f8968060ef3fc9b1e64ac74dd4144ff2bf74 (patch) | |
tree | 2e4a2b320ea6177e96a274b4017ad7cdc3a9b7b5 /clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java | |
parent | 6465999c6cf193433c0be24790e65601e8d0625a (diff) |
Convert clustercontroller-core to junit5
Diffstat (limited to 'clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java')
-rw-r--r-- | clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java index a58f75dba02..7bbae78dbab 100644 --- a/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java +++ b/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/WantedStateTest.java @@ -2,13 +2,14 @@ package com.yahoo.vespa.clustercontroller.core; import com.yahoo.vdslib.state.State; -import org.junit.Test; -import static org.junit.Assert.assertEquals; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; public class WantedStateTest extends FleetControllerTest { @Test - public void testSettingStorageNodeMaintenanceAndBack() throws Exception { + void testSettingStorageNodeMaintenanceAndBack() throws Exception { startingTest("WantedStateTest::testSettingStorageNodeMaintenanceAndBack()"); setUpFleetController(true, defaultOptions("mycluster")); setUpVdsNodes(true, new DummyVdsNodeOptions()); @@ -22,7 +23,7 @@ public class WantedStateTest extends FleetControllerTest { } @Test - public void testOverridingWantedStateOtherReason() throws Exception { + void testOverridingWantedStateOtherReason() throws Exception { startingTest("WantedStateTest::testOverridingWantedStateOtherReason()"); setUpFleetController(true, defaultOptions("mycluster")); setUpVdsNodes(true, new DummyVdsNodeOptions()); |