Skip to content

Commit

Permalink
USER-2678: Fix the user tables test
Browse files Browse the repository at this point in the history
  • Loading branch information
BohuTANG committed Nov 8, 2021
1 parent 4d8fd66 commit 157ef1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions query/src/datasources/database/system/users_table_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use common_base::tokio;
use common_exception::Result;
use common_management::UserInfo;
use common_meta_types::AuthType;
use common_meta_types::UserPrivilege;
use futures::TryStreamExt;
use pretty_assertions::assert_eq;

Expand All @@ -36,6 +37,7 @@ async fn test_users_table() -> Result<()> {
hostname: "localhost".to_string(),
password: Vec::from(""),
auth_type: AuthType::None,
privileges: UserPrivilege::empty(),
})
.await?;
ctx.get_sessions_manager()
Expand All @@ -45,6 +47,7 @@ async fn test_users_table() -> Result<()> {
hostname: "%".to_string(),
password: Vec::from("123456789"),
auth_type: AuthType::PlainText,
privileges: UserPrivilege::empty(),
})
.await?;

Expand Down

0 comments on commit 157ef1f

Please sign in to comment.