Commit 98fcedc 1 parent 953c91e commit 98fcedc Copy full SHA for 98fcedc
File tree 1 file changed +10
-5
lines changed
server/src/main/java/io/deephaven/server/runner
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -237,12 +237,17 @@ public void join() throws InterruptedException {
237
237
238
238
void startForUnitTests () throws Exception {
239
239
setInstance (this );
240
- pluginRegistration .registerAll ();
241
- applicationInjector .run ();
242
- executionContextProvider .get ().getQueryLibrary ().updateVersionString ("DEFAULT" );
240
+ try {
241
+ pluginRegistration .registerAll ();
242
+ applicationInjector .run ();
243
+ executionContextProvider .get ().getQueryLibrary ().updateVersionString ("DEFAULT" );
243
244
244
- log .info ().append ("Starting server..." ).endl ();
245
- server .start ();
245
+ log .info ().append ("Starting server..." ).endl ();
246
+ server .start ();
247
+ } catch (Exception e ) {
248
+ clearInstance (this );
249
+ throw e ;
250
+ }
246
251
}
247
252
248
253
void teardownForUnitTests () throws InterruptedException {
You can’t perform that action at this time.
0 commit comments