Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove flaky is_supported_fs test #13

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions tiledb/api/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down