Skip to content

Commit 10a3ffa

Browse files
committed
fix
1 parent 5f6d6de commit 10a3ffa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/hstreamdb/tests/common.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ pub async fn init_client() -> anyhow::Result<Client> {
1313
Ok(Client(client))
1414
}
1515

16+
#[tokio::test(flavor = "multi_thread")]
17+
async fn make_ci_happy() {
18+
init_client().await.unwrap().0.list_streams().await.unwrap();
19+
}
20+
1621
pub struct Client(pub hstreamdb::Client);
1722

1823
impl Client {

src/hstreamdb/tests/tls_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use hstreamdb::{ChannelProviderSettings, Client};
77

88
#[tokio::test(flavor = "multi_thread")]
99
async fn test_tls() {
10-
if let Ok(_) = env::var("ENDPOINT") {
10+
if env::var("ENDPOINT").is_ok() {
1111
test_tls_impl().await
1212
} else {
1313
log::warn!("cloud endpoint is not presented");

0 commit comments

Comments
 (0)