Class IntegrationTestingConfiguration

java.lang.Object
com.netflix.genie.test.web.configs.IntegrationTestingConfiguration

@Configuration @Profile({"ci","integration"}) public class IntegrationTestingConfiguration extends Object
Configuration overrides for integration tests.
Since:
3.0.0
  • Constructor Details

    • IntegrationTestingConfiguration

      public IntegrationTestingConfiguration()
  • Method Details

    • jobsDir

      @Bean public org.springframework.core.io.Resource jobsDir()
      Returns a temporary directory as the jobs resource.
      Returns:
      The job dir as a resource.
    • cleanup

      @PreDestroy public void cleanup() throws IOException
      Get rid of the directories created by the system temporarily.
      Throws:
      IOException - when unable to delete directory