From 4e2d98b7f35cfeee16f66bc8f1a769b4962e68a9 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Fri, 31 Jul 2020 18:32:18 -0600 Subject: [PATCH] Ostensibly fix all flaky tests --- backend/src/langs.ts | 2 +- backend/src/test-runner.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 5976e08..c234140 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1650,7 +1650,7 @@ main :: Effect Unit main = do log "Hello, world!" `, - timeout: 45, + timeout: 60, }, python: { aliases: ["python3", "python2", "py"], diff --git a/backend/src/test-runner.ts b/backend/src/test-runner.ts index 8fd1f64..0b91f6a 100644 --- a/backend/src/test-runner.ts +++ b/backend/src/test-runner.ts @@ -11,7 +11,7 @@ import * as api from "./api"; import { LangConfig, langs } from "./langs"; const TIMEOUT_SECS = 5; -const CONCURRENCY = 16; +const CONCURRENCY = 2; function findPosition(str: string, idx: number) { const lines = str.substring(0, idx).split("\n");