StoppingDaemonSmokeIntegrationSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Made the assertion also verify the console UI, renamed test and the test method.

    • -69
    • +0
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 1 more file in changeset.
Give the build slightly longer to start up.

    • -1
    • +1
    ./StoppingDaemonSmokeIntegrationSpec.groovy
GRADLE-2444. Added integ test coverage.

1. To reproduce the problem I'm kicking off a service that is not a deamon. Service listens on a port that belonged to a daemon that was forcefully killed with 'kill -9'. Next time we run a build with the daemon we expect it to work well and to remove the invalid address from the registry file.

2. Started writing initial fixture code for daemon integration tests. The fixture is based on the output of the daemon log. This can later replace our current fixture in the daemon lifecycle spec.

    • -2
    • +1
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 9 more files in changeset.
Fixed int test for windows.

    • -4
    • +5
    ./StoppingDaemonSmokeIntegrationSpec.groovy
Changed DaemonClient so that it doesn't try to stop each daemon more than once. Added some int test coverage for --stop.

    • -53
    • +33
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 2 more files in changeset.
Ignored the test until stable. I'll revisit daemon code when I work on the daemon bug with logging.

    • -0
    • +13
    ./StoppingDaemonSmokeIntegrationSpec.groovy
Reverted changes to setting default jvmargs in tests - These break the build and I don't have time to fix at the moment

git revert --no-commit d094a5511a4dc17d7bcfb1a2d2b6c5ae2afe7acc

git revert --no-commit 64ee5b8ba67f38c05093f18e6aedfec77d361975

    • -4
    • +4
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 7 more files in changeset.
Added Executer.withoutSettingJvmArgs(): an explicit way to prevent DaemonExecuter from setting default jvm args for execution

    • -4
    • +4
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 7 more files in changeset.
more Spock-related test fixes

- JUnit rules must now declare a field type, and that type must implement MethodRule/TestRule

- turned TestProxyServer into a rule (it was already used as if it was a rule)

- extended org.junit.rules.ExternalResource instead of implementing TestRule in some places

    • -2
    • +1
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 9 more files in changeset.
Made the launcher sanity timeouts in tests much more generous. They were simply too short and when the machine was busy those tests failed.

    • -2
    • +2
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 1 more file in changeset.
Bumped the timeout slightly in the integ test.

    • -2
    • +2
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 1 more file in changeset.
Added a integration smoke test for stopping the daemon to make sure we don't have any deadlocks.

    • -0
    • +77
    ./StoppingDaemonSmokeIntegrationSpec.groovy
  1. … 2 more files in changeset.