-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add integration test for admin desc #161
Conversation
4d74ffc
to
430e1ed
Compare
|
||
#[tokio::test] | ||
async fn test_admin_desc_table_from_options() -> Result<(), Box<dyn std::error::Error>> { | ||
let table_name = util::create_temporary_table("pk,S", Some("sk,N")).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[memo]
fixed arguments at #160
tests/admin_desc.rs
Outdated
|
||
#[tokio::test] | ||
async fn test_admin_desc_all_tables() -> Result<(), Box<dyn std::error::Error>> { | ||
let table_name = util::create_temporary_table("pk", None).await?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think multiple tables (at least 2) are needed for testing --all-tables
can describe all tables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your comment.
I've added 2 tables to this case to better validate the --all-tables
.
430e1ed
to
a558d40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay in checking.
LGTM
Issue #, if available:
#143
Description of changes:
I have added the test for
dy admin desc
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.