| Index: pkg/analysis_server/test/integration/integration_tests.dart
|
| diff --git a/pkg/analysis_server/test/integration/integration_tests.dart b/pkg/analysis_server/test/integration/integration_tests.dart
|
| index b837278990be683a8f793feccf8d61bb8babe6d5..b1febef25e5cba143be2f0605d93ed16c4379a99 100644
|
| --- a/pkg/analysis_server/test/integration/integration_tests.dart
|
| +++ b/pkg/analysis_server/test/integration/integration_tests.dart
|
| @@ -215,7 +215,9 @@ abstract class AbstractAnalysisServerIntegrationTest
|
| // doesn't exit, then forcibly terminate it.
|
| sendServerShutdown();
|
| return server.exitCode.timeout(SHUTDOWN_TIMEOUT, onTimeout: () {
|
| - return server.kill('server failed to exit');
|
| + // The integer value of the exit code isn't used, but we have to return
|
| + // an integer to keep the typing correct.
|
| + return server.kill('server failed to exit').then((_) => -1);
|
| });
|
| }
|
|
|
|
|