Skip to content

Commit

Permalink
cdh/kms/aliyun: fix unit test
Browse files Browse the repository at this point in the history
If we want to ignore every test case in `rstest`, we should add `ignore`
macro to every case.

Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Nov 20, 2023
1 parent 5ec0420 commit 76ff347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion confidential-data-hub/kms/src/plugins/aliyun/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,10 @@ mod tests {

use crate::{plugins::aliyun::client::AliyunKmsClient, Decrypter, Encrypter};

#[ignore]
#[rstest]
#[ignore]
#[case(b"this is a test plaintext")]
#[ignore]
#[case(b"this is a another test plaintext")]
#[tokio::test]
async fn key_lifetime(#[case] plaintext: &[u8]) {
Expand Down

0 comments on commit 76ff347

Please sign in to comment.