From 798402a2ca1a0fb4d11e2a35d6b234f40e43308c Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Mon, 3 Apr 2023 14:05:59 -0500 Subject: [PATCH] Skip second half of filestore test on Windows --- NEWS.md | 4 ++++ inst/tinytest/test_filestore.R | 3 +++ 2 files changed, 7 insertions(+) diff --git a/NEWS.md b/NEWS.md index fed95394d6..13ecf8bae3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,10 +4,14 @@ * Query conditions can now be expressed for attributes of type UTF-8 (#529) +* The startup message now displays the operating system and version (#532) + ## Build and Test Systems * Testing for Groups reflect the stricter behavior in config setting requiring a close array (#530) +* The use of binary packages in continuous integration has been made a little more robust (#531) + # tiledb 0.19.0 diff --git a/inst/tinytest/test_filestore.R b/inst/tinytest/test_filestore.R index 8e6bdf8e9a..6fd01225dd 100644 --- a/inst/tinytest/test_filestore.R +++ b/inst/tinytest/test_filestore.R @@ -4,6 +4,8 @@ library(tiledb) isOldWindows <- Sys.info()[["sysname"]] == "Windows" && grepl('Windows Server 2008', osVersion) if (isOldWindows) exit_file("skip this file on old Windows releases") +isWindows <- if (Sys.info()[["sysname"]] == "Windows") + ctx <- tiledb_ctx(limitTileDBCores()) if (tiledb_version(TRUE) < "2.9.0") exit_file("Needs TileDB 2.9.* or later") @@ -18,6 +20,7 @@ expect_true(inherits(tiledb_filestore_schema_create(), "tiledb_array_schema")) expect_true(inherits(tiledb_filestore_schema_create(text_file), "tiledb_array_schema")) expect_error(tiledb_filestore_schema_create("does_not_exist")) +if (isWindows) exit_file("Skip remainder as tests randomly fail") tempuri <- tempfile() res <- tiledb_filestore_schema_create(text_file) # schema from text_file