Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj committed Jul 14, 2024
1 parent 26772a6 commit a46404e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ export async function genkitStart(
done = true;
reject(new Error('timeout waiting for genkit start to start'));
}
}, 10000);
}, 20000);

appProcess.stdout?.on('data', (data) => {
console.log('stdout: ' + data.toString());
const match = data.toString().match(/Genkit Tools UI: ([^ ]*)/);
console.log(" - - - ", match && match.length > 1)
if (match && match.length > 1) {
console.log('Developer UI ready, launching test ' + match[1]);
if (done) {
Expand Down

0 comments on commit a46404e

Please sign in to comment.