summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeyang Zhou <zhy20000919@hotmail.com>2023-03-23 03:46:26 +0800
committerGitHub <noreply@github.com>2023-03-22 20:46:26 +0100
commita117d3d91ed2d647ed53e79b0f900f0ec4d1b08d (patch)
treeab49566d2156a102f12c7f51dc98f5ddc967c88b
parentf9c8d98b776083525a41f37ebfd86a4a4a288c43 (diff)
chore(ext/kv): disable ci tests on darwin (#18364)
https://github.com/denoland/deno/issues/18363
-rw-r--r--cli/tests/unit/kv_test.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/unit/kv_test.ts b/cli/tests/unit/kv_test.ts
index c50e52c52..256060ccc 100644
--- a/cli/tests/unit/kv_test.ts
+++ b/cli/tests/unit/kv_test.ts
@@ -7,6 +7,13 @@ import {
assertThrows,
} from "./test_util.ts";
+let isCI: boolean;
+try {
+ isCI = Deno.env.get("CI") !== undefined;
+} catch {
+ isCI = true;
+}
+
Deno.test({
name: "openKv :memory: no permissions",
permissions: {},
@@ -36,6 +43,8 @@ Deno.test({
function dbTest(name: string, fn: (db: Deno.Kv) => Promise<void>) {
Deno.test({
name,
+ // https://github.com/denoland/deno/issues/18363
+ ignore: Deno.build.os === "darwin" && isCI,
async fn() {
const db: Deno.Kv = await Deno.openKv(
":memory:",