8000 fix(dev): Use less popular ports for node manual testing (#3369) · szechyjs/sentry-javascript@fbdc875 · GitHub
[go: up one dir, main page]

Skip to content

Commit fbdc875

Browse files
authored
fix(dev): Use less popular ports for node manual testing (getsentry#3369)
1 parent e80e0d8 commit fbdc875

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/node/test/manual/apm-transaction/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ app.get('/trace', async (_req, res, next) => {
105105
app.use(Tracing.finish());
106106
app.use(Sentry.Handlers.errorHandler());
107107

108-
const server = app.listen(3000, () => {
109-
http.get('http://localhost:3000/trace', res => {
108+
const server = app.listen(1231, () => {
109+
http.get('http://localhost:1231/trace', res => {
110110
server.close();
111111
});
112112
});

packages/node/test/manual/express-scope-separation/start.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ app.get('/baz', req => {
8383

8484
app.use(Sentry.Handlers.errorHandler());
8585

86-
app.listen(3000);
86+
app.listen(1121);
8787

88-
http.get('http://localhost:3000/foo');
89-
http.get('http://localhost:3000/bar');
90-
http.get('http://localhost:3000/baz');
88+
http.get('http://localhost:1121/foo');
89+
http.get('http://localhost:1121/bar');
90+
http.get('http://localhost:1121/baz');

packages/node/test/manual/memory-leak/express-patient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ app.use((err, req, res, next) => {
146146
return res.status(500).send('oh no there was an error: ' + err.message);
147147
});
148148

149-
const server = app.listen(3000, () => {
150-
process._rawDebug('patient is waiting to be poked on port 3000');
149+
const server = app.listen(5140, () => {
150+
process._rawDebug('patient is waiting to be poked on port 5140');
151151
memwatch.gc();
152152
});

0 commit comments

Comments
 (0)
0