public override async Task GlobalSetupAsync() { await base.GlobalSetupAsync(); // Global setup code that runs once at the beginning of test execution. // Create the model globally so all tests can take advantage of it. await AdtInstancePopulator.CreateRoomModelAsync(_digitalTwinsClient).ConfigureAwait(false); }
public override async Task SetupAsync() { await base.SetupAsync(); _createdTwins = await AdtInstancePopulator.CreateRoomTwinsForTestIdAsync(_digitalTwinsClient, _testId, _size).ConfigureAwait(false); // Since it takes some time for the newly created twins to be included in the query result, we have to wait some time. await Task.Delay(_delayPeriod); }