Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Library
Commits
819a4cb3
Commit
819a4cb3
authored
Jun 02, 2022
by
Hiro
🏄
Browse files
Test known-flags contains MiddleOnly
parent
16499550
Pipeline
#40319
passed with stage
in 2 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/torproject/descriptor/impl/RelayNetworkStatusConsensusImplTest.java
View file @
819a4cb3
...
...
@@ -365,6 +365,7 @@ public class RelayNetworkStatusConsensusImplTest {
assertTrue
(
consensus
.
getRecommendedServerVersions
().
contains
(
"0.2.3.8-alpha"
));
assertTrue
(
consensus
.
getKnownFlags
().
contains
(
"Running"
));
assertTrue
(
consensus
.
getKnownFlags
().
contains
(
"MiddleOnly"
));
assertTrue
(
consensus
.
getRecommendedClientProtocols
().
get
(
"Cons"
)
.
contains
(
1L
));
assertFalse
(
consensus
.
getRecommendedRelayProtocols
().
get
(
"Cons"
)
...
...
@@ -1636,4 +1637,3 @@ public class RelayNetworkStatusConsensusImplTest {
assertEquals
(
unrecognizedLines
,
consensus
.
getUnrecognizedLines
());
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment