Skip to content

Commit 1cc30b5

Browse files
committed
fix test
1 parent d7ead2b commit 1cc30b5

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

interpreter/customlabels/integrationtests/node_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ func TestIntegration(t *testing.T) {
6363
// is on v25 by then.
6464
"latest",
6565
"22.19.0",
66-
"20.19.5",
6766
} {
6867
name := "node-" + nodeVersion
6968
t.Run(name, func(t *testing.T) {

interpreter/customlabels/integrationtests/testdata/node-md-render/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODE_VERSION=20
1+
ARG NODE_VERSION=22
22
FROM node:${NODE_VERSION}
33

44
# Install build dependencies for native modules
@@ -25,5 +25,9 @@ COPY *.js ./
2525
# Expose ports for app and gdbserver
2626
EXPOSE 80
2727

28-
# Start the application
29-
CMD ["node", "index.js"]
28+
# Start the application with conditional flag for Node < 24
29+
CMD if [ $(node -v | cut -c2- | cut -d. -f1) -lt 24 ]; then \
30+
exec node --experimental-async-context-frame index.js; \
31+
else \
32+
exec node index.js; \
33+
fi

0 commit comments

Comments
 (0)