Skip to content

Commit e1f5533

Browse files
committed
Bumped emulator version
1 parent d650f5d commit e1f5533

File tree

3 files changed

+5
-70
lines changed

3 files changed

+5
-70
lines changed

packages/data-connect/test/emulatorSeeder.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

scripts/emulator-testing/emulators/dataconnect-emulator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import { platform } from 'os';
1919
import { Emulator } from './emulator';
2020

21-
const DATACONNECT_EMULATOR_VERSION = '1.7.5';
21+
const DATACONNECT_EMULATOR_VERSION = '1.9.2';
2222

2323
export class DataConnectEmulator extends Emulator {
2424
constructor(port = 9399) {

scripts/emulator-testing/emulators/emulator.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export abstract class Emulator {
146146
if (this.isDataConnect) {
147147
const dataConnectConfigDir = this.findDataConnectConfigDir();
148148
promise = spawn(this.binaryPath, [
149+
'--logtostderr',
149150
'--v=2',
150151
'dev',
151152
`--listen=127.0.0.1:${this.port},[::1]:${this.port}`,
@@ -155,6 +156,9 @@ export abstract class Emulator {
155156
promise.childProcess.stderr?.on('data', res =>
156157
console.log(res.toString())
157158
);
159+
promise.childProcess.stderr?.on('error', res =>
160+
console.log(res.toString())
161+
);
158162
} else {
159163
promise = spawn(
160164
'java',
@@ -174,7 +178,6 @@ export abstract class Emulator {
174178
promise.catch(reject);
175179
this.emulator = promise.childProcess;
176180

177-
console.log(`Waiting for emulator to start up ...`);
178181
// NOTE: Normally the emulator starts up within a few seconds.
179182
// However, our sdk test suite launches tests from 20+ packages in parallel, which slows
180183
// down the startup substantially. In such case for the emulator to start, it can take

0 commit comments

Comments
 (0)