Commit 819a4cb3 authored by Hiro's avatar Hiro 🏄
Browse files

Test known-flags contains MiddleOnly

parent 16499550
Pipeline #40319 passed with stage
in 2 minutes and 48 seconds
...@@ -365,6 +365,7 @@ public class RelayNetworkStatusConsensusImplTest { ...@@ -365,6 +365,7 @@ public class RelayNetworkStatusConsensusImplTest {
assertTrue(consensus.getRecommendedServerVersions().contains( assertTrue(consensus.getRecommendedServerVersions().contains(
"0.2.3.8-alpha")); "0.2.3.8-alpha"));
assertTrue(consensus.getKnownFlags().contains("Running")); assertTrue(consensus.getKnownFlags().contains("Running"));
assertTrue(consensus.getKnownFlags().contains("MiddleOnly"));
assertTrue(consensus.getRecommendedClientProtocols().get("Cons") assertTrue(consensus.getRecommendedClientProtocols().get("Cons")
.contains(1L)); .contains(1L));
assertFalse(consensus.getRecommendedRelayProtocols().get("Cons") assertFalse(consensus.getRecommendedRelayProtocols().get("Cons")
...@@ -1636,4 +1637,3 @@ public class RelayNetworkStatusConsensusImplTest { ...@@ -1636,4 +1637,3 @@ public class RelayNetworkStatusConsensusImplTest {
assertEquals(unrecognizedLines, consensus.getUnrecognizedLines()); assertEquals(unrecognizedLines, consensus.getUnrecognizedLines());
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment