In certain situations, the test environment could not be created

In certain situations, the test environment could not be created.