diff options
Diffstat (limited to 'tests/common/sync_helpers.rs')
| -rw-r--r-- | tests/common/sync_helpers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/sync_helpers.rs b/tests/common/sync_helpers.rs index d6a6ee4..5fc2ad7 100644 --- a/tests/common/sync_helpers.rs +++ b/tests/common/sync_helpers.rs | |||
| @@ -708,7 +708,7 @@ impl ParsedMetrics { | |||
| 708 | /// Check if a specific relay is connected | 708 | /// Check if a specific relay is connected |
| 709 | pub fn relay_connected(&self, relay: &str) -> Option<bool> { | 709 | pub fn relay_connected(&self, relay: &str) -> Option<bool> { |
| 710 | self.gauge("ngit_sync_relay_connected", &[("relay", relay)]) | 710 | self.gauge("ngit_sync_relay_connected", &[("relay", relay)]) |
| 711 | .map(|v| v >= 2) // Syncing (2), Connected (3), or ConnectedHistoricSyncFailures (4) | 711 | .map(|v| v >= 2) // Syncing (2), Connected (3), or ConnectedHistoricSyncFailures (4) |
| 712 | } | 712 | } |
| 713 | 713 | ||
| 714 | /// Get total number of connected relays | 714 | /// Get total number of connected relays |