Skip to content

Commit 2c21112

Browse files
committed
[uss_qualifier] Fix DisplayProviderBehavior with multiple observers
1 parent 387913f commit 2c21112

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

monitoring/uss_qualifier/scenarios/astm/netrid/common/dp_behavior.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,10 @@ def run(self, context: ExecutionContext):
134134
self.end_test_step()
135135
self.end_test_case()
136136

137+
test_case_start_time = arrow.utcnow().datetime
138+
self.begin_test_case("Display Provider Behavior")
139+
137140
for obs in self._observers:
138-
test_case_start_time = arrow.utcnow().datetime
139-
# We run the entire test case for each provided observer
140-
# (Otherwise we can't differentiate which queries are from which observer)
141-
self.begin_test_case("Display Provider Behavior")
142141

143142
self.begin_test_step("Query acceptable diagonal area")
144143
# Query the DP for the exact area of the ISA
@@ -158,8 +157,7 @@ def run(self, context: ExecutionContext):
158157
self._step_validate_queries_to_sp(obs, test_case_start_time)
159158
self.end_test_step()
160159

161-
self.end_test_case()
162-
160+
self.end_test_case()
163161
self.end_test_scenario()
164162

165163
def _mock_sp_base_url(self):

0 commit comments

Comments
 (0)