code: public void waitForDeployments(@Observes(precedence = -100) AfterStart event, OpenShiftAdapter client,
          CEEnvironmentProcessor.TemplateDetails details, TestClass testClass, CubeOpenShiftConfiguration configuration, OpenShiftClient openshiftClient)
          throws Exception {
          if (testClass == null) {
              // nothing to do, since we're not in ClassScoped context
              return;
          }
          if (details == null) {
              log.warning(String.format("No environment for %s", testClass.getName()));
              return;
          }
          log.info(String.format("Waiting for environment for %s", testClass.getName()));
          try {
              delay(client, details.getResources());
          } catch (Throwable t) {
              throw new IllegalArgumentException("Error waiting for template resources to deploy: " + testClass.getName(), t);
          }
      }
docs: Wait for the template resources to come up after the test container has
  been started. This allows the test container and the template resources
  to come up in parallel.