e2e-tests: wait for plugins before start
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -537,7 +537,9 @@ async function testBackendStart(appDir: string, ...args: string[]) {
|
||||
|
||||
try {
|
||||
await waitFor(
|
||||
() => stdout.includes('Listening on ') || filterStderr(stderr).length > 0,
|
||||
() =>
|
||||
stdout.includes('Plugin initialization complete') ||
|
||||
filterStderr(stderr).length > 0,
|
||||
);
|
||||
const stderrLines = filterStderr(stderr);
|
||||
if (stderrLines.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user