Class SkipShutdown

java.lang.Object
io.ebean.test.containers.SkipShutdown

public class SkipShutdown extends Object
Detect if we should skip container stop/stopRemove for local development.

Developers put a marker file ~/.ebean/ignore-docker-shutdown which is detected and keeps the docker container running for the next test run.

  • Constructor Details

    • SkipShutdown

      public SkipShutdown()
  • Method Details

    • isSkip

      public static boolean isSkip()
      Return true to skip docker container stop for local development.

      Used with ebean.test.containers.mirror when we want to use a mirror to pull test images for CI builds (and not use the mirror for local builds).