Revert "Add process output for flutter_tester test and unskip (#18868)" (#18871)

This reverts commit 5d8ea59d86.
This commit is contained in:
Danny Tuppeny
2018-06-27 13:23:15 +01:00
committed by GitHub
parent 5d8ea59d86
commit cfd26d321e

View File

@@ -94,20 +94,15 @@ class MyApp extends StatelessWidget {
}
''');
// Capture process output so that if the process quits we can print the
// stdout/stderr in the error.
final StringBuffer logs = new StringBuffer();
device.getLogReader().logLines.listen(logs.write);
final LaunchResult result = await start(mainPath);
expect(result.started, isTrue);
expect(result.observatoryUri, isNotNull);
await new Future<void>.delayed(const Duration(seconds: 3));
expect(device.isRunning, true, reason: 'Device did not remain running.\n\n$logs'.trim());
expect(device.isRunning, true);
expect(await device.stopApp(null), isTrue);
});
}, skip: true);
});
}