-
Type:
Build Failure
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Name of Failure:
test.asynchronous.test_create_entities.TestCreateEntities.test_store_all_others_as_entities
test.asynchronous.test_create_entities.TestCreateEntities.test_store_events_as_entities
Link to task:
Context of when and why the failure occurred:
SDAM refactor
Stack trace:
[2024/12/03 18:41:12.001] FAILURE: AttributeError: 'UnifiedSpecTestMixinV1' object has no attribute 'TEST_PATH' () [2024/12/03 18:41:12.001] self = <test.asynchronous.test_create_entities.TestCreateEntities testMethod=test_store_events_as_entities> [2024/12/03 18:41:12.001] async def test_store_events_as_entities(self): [2024/12/03 18:41:12.001] self.scenario_runner = UnifiedSpecTestMixinV1() [2024/12/03 18:41:12.001] spec = { [2024/12/03 18:41:12.001] "description": "blank", [2024/12/03 18:41:12.001] "schemaVersion": "1.2", [2024/12/03 18:41:12.001] "createEntities": [ [2024/12/03 18:41:12.001] { [2024/12/03 18:41:12.001] "client": { [2024/12/03 18:41:12.001] "id": "client0", [2024/12/03 18:41:12.001] "storeEventsAsEntities": [ [2024/12/03 18:41:12.001] { [2024/12/03 18:41:12.001] "id": "events1", [2024/12/03 18:41:12.001] "events": [ [2024/12/03 18:41:12.001] "PoolCreatedEvent", [2024/12/03 18:41:12.001] ], [2024/12/03 18:41:12.001] } [2024/12/03 18:41:12.001] ], [2024/12/03 18:41:12.001] } [2024/12/03 18:41:12.001] }, [2024/12/03 18:41:12.001] ], [2024/12/03 18:41:12.001] "tests": [{"description": "foo", "operations": []}], [2024/12/03 18:41:12.001] } [2024/12/03 18:41:12.001] self.scenario_runner.TEST_SPEC = spec [2024/12/03 18:41:12.001] > await self.scenario_runner.asyncSetUp() [2024/12/03 18:41:12.001] test/asynchronous/test_create_entities.py:51: [2024/12/03 18:41:12.001] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [2024/12/03 18:41:12.001] self = <test.asynchronous.unified_format.UnifiedSpecTestMixinV1 testMethod=runTest> [2024/12/03 18:41:12.001] async def asyncSetUp(self): [2024/12/03 18:41:12.001] # super call creates internal client cls.client [2024/12/03 18:41:12.001] await super().asyncSetUp() [2024/12/03 18:41:12.001] # process file-level runOnRequirements [2024/12/03 18:41:12.001] run_on_spec = self.TEST_SPEC.get("runOnRequirements", []) [2024/12/03 18:41:12.001] if not await self.should_run_on(run_on_spec): [2024/12/03 18:41:12.001] raise unittest.SkipTest(f"{self.__class__.__name__} runOnRequirements not satisfied") [2024/12/03 18:41:12.001] [2024/12/03 18:41:12.001] # add any special-casing for skipping tests here [2024/12/03 18:41:12.001] if async_client_context.storage_engine == "mmapv1": [2024/12/03 18:41:12.001] if "retryable-writes" in self.TEST_SPEC["description"] or "retryable_writes" in str( [2024/12/03 18:41:12.001] > self.TEST_PATH [2024/12/03 18:41:12.001] ): [2024/12/03 18:41:12.001] E AttributeError: 'UnifiedSpecTestMixinV1' object has no attribute 'TEST_PATH' [2024/12/03 18:41:12.001] test/asynchronous/unified_format.py:507: AttributeError