Skip to content

Commit dc3a05e

Browse files
committed
Revert "Tweak UT timings"
This reverts commit d5f40e8.
1 parent d5f40e8 commit dc3a05e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test_qos_map.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ def init_test(self, dvs):
119119

120120
# Set switch FC capability to 63
121121
dvs.setReadOnlyAttr('SAI_OBJECT_TYPE_SWITCH', 'SAI_SWITCH_ATTR_MAX_NUMBER_OF_FORWARDING_CLASSES', '63')
122-
time.sleep(1)
123122

124123
def get_qos_id(self):
125124
diff = set(self.asic_db.get_keys(self.ASIC_QOS_MAP_STR)) - set(self.asic_qos_map_ids)
@@ -132,7 +131,7 @@ def test_dscp_to_fc(self, dvs):
132131
# Create a DSCP_TO_FC map
133132
dscp_map = [(str(i), str(i)) for i in range(0, 64)]
134133
self.dscp_ps.set("AZURE", swsscommon.FieldValuePairs(dscp_map))
135-
time.sleep(2)
134+
time.sleep(1)
136135

137136
self.asic_db.wait_for_n_keys(self.ASIC_QOS_MAP_STR, self.asic_qos_map_count + 1)
138137

@@ -175,7 +174,7 @@ def test_exp_to_fc(self, dvs):
175174
# Create a EXP_TO_FC map
176175
exp_map = [(str(i), str(i)) for i in range(0, 8)]
177176
self.exp_ps.set("AZURE", swsscommon.FieldValuePairs(exp_map))
178-
time.sleep(2)
177+
time.sleep(1)
179178

180179
self.asic_db.wait_for_n_keys(self.ASIC_QOS_MAP_STR, self.asic_qos_map_count + 1)
181180

@@ -227,7 +226,7 @@ def test_per_port_cbf_binding(self, dvs):
227226
# Create a DSCP_TO_FC map
228227
dscp_map = [(str(i), str(i)) for i in range(0, 64)]
229228
self.dscp_ps.set("AZURE", swsscommon.FieldValuePairs(dscp_map))
230-
time.sleep(2)
229+
time.sleep(1)
231230
self.asic_db.wait_for_n_keys(self.ASIC_QOS_MAP_STR, self.asic_qos_map_count + 1)
232231
dscp_map_id = self.get_qos_id()
233232
self.asic_qos_map_ids = self.asic_db.get_keys(self.ASIC_QOS_MAP_STR)

0 commit comments

Comments
 (0)