feat(tvix/castore/*service/tests): add objectstore to tests, sort
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
This commit is contained in:
parent
508fcd65ee
commit
6e8046bec7
2 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ use self::utils::make_grpc_blob_service_client;
|
||||||
/// See https://github.com/la10736/rstest/issues/130#issuecomment-968864832
|
/// See https://github.com/la10736/rstest/issues/130#issuecomment-968864832
|
||||||
#[template]
|
#[template]
|
||||||
#[rstest]
|
#[rstest]
|
||||||
#[case::memory(blobservice::from_addr("memory://").await.unwrap())]
|
|
||||||
#[case::grpc(make_grpc_blob_service_client().await)]
|
#[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())]
|
#[case::sled(blobservice::from_addr("sled://").await.unwrap())]
|
||||||
pub fn blob_services(#[case] blob_service: impl BlobService) {}
|
pub fn blob_services(#[case] blob_service: impl BlobService) {}
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ use self::utils::make_grpc_directory_service_client;
|
||||||
/// See https://github.com/la10736/rstest/issues/130#issuecomment-968864832
|
/// See https://github.com/la10736/rstest/issues/130#issuecomment-968864832
|
||||||
#[template]
|
#[template]
|
||||||
#[rstest]
|
#[rstest]
|
||||||
#[case::memory(directoryservice::from_addr("memory://").await.unwrap())]
|
|
||||||
#[case::grpc(make_grpc_directory_service_client().await)]
|
#[case::grpc(make_grpc_directory_service_client().await)]
|
||||||
|
#[case::memory(directoryservice::from_addr("memory://").await.unwrap())]
|
||||||
#[case::sled(directoryservice::from_addr("sled://").await.unwrap())]
|
#[case::sled(directoryservice::from_addr("sled://").await.unwrap())]
|
||||||
pub fn directory_services(#[case] directory_service: impl DirectoryService) {}
|
pub fn directory_services(#[case] directory_service: impl DirectoryService) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue