Skip to content

Commit

Permalink
Follow-up on #4889
Browse files Browse the repository at this point in the history
  • Loading branch information
kraenhansen committed Sep 9, 2022
1 parent 429d2d3 commit f6ba760
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions integration-tests/baas-test-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ Run the `start` script, sit back and relax as a mongo server is started, BaaS is
```shell
npm start
```

Visit the administrative UI in your browser, if you need to.

```shell
open http://localhost:9090
```
4 changes: 2 additions & 2 deletions integration-tests/baas-test-server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const STITCH_SUPPORT_URL =
// This can be updated once https://github.com/10gen/baas/pull/7405 gets merged
const BAAS_REPO = "[email protected]:10gen/baas.git";
const BAAS_UI_REPO = "[email protected]:10gen/baas-ui.git";
const MONGODB_PORT = 27017;
const MONGODB_PORT = 26000;
const MONGODB_URL = `mongodb://localhost:${MONGODB_PORT}`;

dotenv.config();
Expand Down Expand Up @@ -265,7 +265,7 @@ function spawnBaaS() {
// Build and run the BaaS binary - we're doing this over "go run" because that doesn't propagate a kill signal
// Build a binary
execSync("go build -o baas_server cmd/server/main.go", { cwd: baasPath, stdio: "inherit" });
spawn(chalk.blueBright("baas"), "./baas_server", ["--configFile", "./etc/configs/local_config.json"], {
spawn(chalk.blueBright("baas"), "./baas_server", ["--configFile", "./etc/configs/test_config.json"], {
cwd: baasPath,
env: { ...process.env, PATH: process.env.PATH + ":" + transpilerBinPath },
});
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/realm-apps/with-db-flx/secrets.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"local-mongodb-uri": "mongodb://localhost:27017"
"local-mongodb-uri": "mongodb://localhost:26000"
}
2 changes: 1 addition & 1 deletion integration-tests/realm-apps/with-db/secrets.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"local-mongodb-uri": "mongodb://localhost:27017"
"local-mongodb-uri": "mongodb://localhost:26000"
}

0 comments on commit f6ba760

Please sign in to comment.