diff options
author | Florian Klink <flokli@flokli.de> | 2024-03-27T17·29+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-28T21·15+0000 |
commit | 6e8046bec7013abfdbf179ce46beaa0741ed94be (patch) | |
tree | 69eb22076bddb2e825be146549d0e50bb00b0cea /tvix/castore/src | |
parent | 508fcd65ee695947690e99305adb5d20516e7ec7 (diff) |
feat(tvix/castore/*service/tests): add objectstore to tests, sort r/7797
Change-Id: If3a45d2f8008b75524ead704b05320364cc60d92 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11282 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/src')
-rw-r--r-- | tvix/castore/src/blobservice/tests/mod.rs | 3 | ||||
-rw-r--r-- | tvix/castore/src/directoryservice/tests/mod.rs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tvix/castore/src/blobservice/tests/mod.rs b/tvix/castore/src/blobservice/tests/mod.rs index b1ae66bac40d..30c4e97634a4 100644 --- a/tvix/castore/src/blobservice/tests/mod.rs +++ b/tvix/castore/src/blobservice/tests/mod.rs @@ -22,8 +22,9 @@ use self::utils::make_grpc_blob_service_client; /// See https://github.com/la10736/rstest/issues/130#issuecomment-968864832 #[template] #[rstest] -#[case::memory(blobservice::from_addr("memory://").await.unwrap())] #[case::grpc(make_grpc_blob_service_client().await)] +#[case::memory(blobservice::from_addr("memory://").await.unwrap())] +#[case::objectstore_memory(blobservice::from_addr("objectstore+memory://").await.unwrap())] #[case::sled(blobservice::from_addr("sled://").await.unwrap())] pub fn blob_services(#[case] blob_service: impl BlobService) {} diff --git a/tvix/castore/src/directoryservice/tests/mod.rs b/tvix/castore/src/directoryservice/tests/mod.rs index 96ea2c27a13c..23650069b1db 100644 --- a/tvix/castore/src/directoryservice/tests/mod.rs +++ b/tvix/castore/src/directoryservice/tests/mod.rs @@ -23,8 +23,8 @@ use self::utils::make_grpc_directory_service_client; /// See https://github.com/la10736/rstest/issues/130#issuecomment-968864832 #[template] #[rstest] -#[case::memory(directoryservice::from_addr("memory://").await.unwrap())] #[case::grpc(make_grpc_directory_service_client().await)] +#[case::memory(directoryservice::from_addr("memory://").await.unwrap())] #[case::sled(directoryservice::from_addr("sled://").await.unwrap())] pub fn directory_services(#[case] directory_service: impl DirectoryService) {} |