From e741e63fbe05769ced0117544d88325b8490f5e8 Mon Sep 17 00:00:00 2001 From: Julian Nguyen <109386615+juliannguyen4@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:38:11 -0700 Subject: [PATCH] Remove unused flag --- test/new_tests/test_metrics.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/new_tests/test_metrics.py b/test/new_tests/test_metrics.py index 30e4edaf8..d51f3381b 100644 --- a/test/new_tests/test_metrics.py +++ b/test/new_tests/test_metrics.py @@ -11,7 +11,6 @@ # Flags for testing callbacks enable_triggered = False disable_triggered = False -node_close_triggered = False snapshot_triggered = False # Cluster objects returned from callbacks @@ -31,8 +30,7 @@ def disable(cluster: Cluster): cluster_from_disable_listener = cluster def node_close(node: Node): - global node_close_triggered - node_close_triggered = True + pass def snapshot(cluster: Cluster): global snapshot_triggered @@ -50,11 +48,9 @@ def setup(self, as_connection, request): # Clear results from previous tests global enable_triggered global disable_triggered - global node_close_triggered global snapshot_triggered enable_triggered = False disable_triggered = False - node_close_triggered = False snapshot_triggered = False global cluster_from_disable_listener