From 7ed810e9933043cd2a0057193a224f6d3ff69d69 Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Wed, 20 Mar 2024 10:42:36 -0500 Subject: [PATCH] Remove flaky is_supported_fs test We can't guarantee that any given VFS backend is unavailable at any given time so we'll just remove the test for missing backends. --- tiledb/api/src/context.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tiledb/api/src/context.rs b/tiledb/api/src/context.rs index 2079108a..d84bddaf 100644 --- a/tiledb/api/src/context.rs +++ b/tiledb/api/src/context.rs @@ -193,12 +193,8 @@ mod tests { // build of libtiledb.{so,dylib,dll} assert!(ctx.is_supported_fs(ffi::Filesystem::MEMFS)); - // On GitHub Actions, we use the release tarball which enables all - // backends. Thus we skip this test when running in CI. - let var = std::env::var("GITHUB_ACTIONS").unwrap_or(String::from("")); - if var != *"true" { - assert!(!ctx.is_supported_fs(ffi::Filesystem::HDFS)); - } + // We can't guarantee that any VFS backend is not present so any test + // for an unsupported backend is guaranteed to fail somewhere. } #[test]