aboutsummaryrefslogtreecommitdiffstats
path: root/flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java')
-rw-r--r--flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java b/flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java
index 852e1f9b7b1..1c8fbc41d35 100644
--- a/flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java
+++ b/flags/src/test/java/com/yahoo/vespa/flags/custom/SharedHostTest.java
@@ -2,22 +2,22 @@
package com.yahoo.vespa.flags.custom;
import com.fasterxml.jackson.databind.ObjectMapper;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.util.List;
-import static org.junit.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
public class SharedHostTest {
@Test
- public void serialization() throws IOException {
+ void serialization() throws IOException {
verifySerialization(new SharedHost(List.of(
new HostResources(1.0, 2.0, 3.0, 4.0, "fast", "remote",
- "container", 5, "x86_64")), 6));
+ "container", 5, "x86_64")), 6));
verifySerialization(new SharedHost(List.of(
new HostResources(1.0, 2.0, 3.0, 4.0, "fast", "remote",
- "admin", 5, "arm64")), null));
+ "admin", 5, "arm64")), null));
}
private void verifySerialization(SharedHost sharedHost) throws IOException {