Answer stability round 1: 0 🔴, 4 🟡 (0 misread); stop a slow shim inside the container, test a crashing shim, and drop two tests that repeated others
This commit is contained in:
@@ -4,4 +4,6 @@ COPY package.json package-lock.json ./
|
||||
RUN npm ci --ignore-scripts --omit=dev
|
||||
COPY shim.mjs ./
|
||||
USER node
|
||||
ENTRYPOINT ["node", "shim.mjs"]
|
||||
# The deadline is inside the container, since a timeout in the caller kills only the docker client and leaves the container running.
|
||||
# It is under convert.py's RUN_SECONDS, so it fires first.
|
||||
ENTRYPOINT ["timeout", "50", "node", "shim.mjs"]
|
||||
|
||||
Reference in New Issue
Block a user