diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-07-07 12:28:25 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-07-07 12:28:25 +0200 |
commit | 5aaf72183904d6fd9ce6798a4b53b6cd73cc9fc0 (patch) | |
tree | 9bbb9a56acedc8bb8efefc23f8f59fa803b52a17 /vespa-osgi-testrunner | |
parent | 4f5979902977694ca025d2535192d790e8d3be3a (diff) |
Mark 'execution' field volatile
Diffstat (limited to 'vespa-osgi-testrunner')
-rw-r--r-- | vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java b/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java index 3fc85365084..224105806b5 100644 --- a/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java +++ b/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java @@ -42,7 +42,7 @@ public class JunitRunner extends AbstractComponent { private final BundleContext bundleContext; private final TestRuntimeProvider testRuntimeProvider; - private Future<TestReport> execution; + private volatile Future<TestReport> execution; @Inject public JunitRunner(OsgiFramework osgiFramework, TestRuntimeProvider testRuntimeProvider) { |