Skip to content

Commit 3d4267b

Browse files
hot fix for servicebus (Azure#16807)
* hot fix potentially for servicebus * reverting changes
1 parent eddbaf3 commit 3d4267b

File tree

1 file changed

+0
-5
lines changed
  • tools/azure-devtools/src/azure_devtools/scenario_tests

1 file changed

+0
-5
lines changed

tools/azure-devtools/src/azure_devtools/scenario_tests/preparers.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ def _prepare_create_resource(self, test_class_instance, **kwargs):
4646
# In cached mode we need to avoid this because then for tests with recordings, they would not have a moniker.
4747
if (self.live_test or test_class_instance.in_recording) \
4848
and not (not test_class_instance.is_live and test_class_instance.in_recording and self._use_cache):
49-
_logger.warning("This test (%s) does not generate a recording file, you should not inherit from AzureTestCase \
50-
for these tests, please remove this dependency.", test_class_instance.qualified_test_name)
51-
52-
if (self.live_test or test_class_instance.in_recording) \
53-
and not (not self.live_test and test_class_instance.in_recording and self._use_cache):
5449
resource_name = self.random_name
5550
if not self.live_test and isinstance(self, RecordingProcessor):
5651
test_class_instance.recording_processors.append(self)

0 commit comments

Comments
 (0)