-
Notifications
You must be signed in to change notification settings - Fork 21
(MODULES-2497) SQLSERVER - Create Automated Tests for sqlserver::login #150
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
(MODULES-2497) SQLSERVER - Create Automated Tests for sqlserver::login #150
Conversation
(MODULES-2497) updated PR based on ticket FM-3655
f15af7c
to
a08c499
Compare
} | ||
end | ||
|
||
context "Start testing...", {:testrail => ['89118', '89119', '89120', '89121', '89122', '89123', '89124', '89125', '891540']} do |
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.
Test case ID 891540
should be 89540
.
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.
fixed in the next push
@phongdly Do you wait until automated tests are merged before marking the tests as "Automated" in TestRail? |
} | ||
MANIFEST | ||
#comment out the below line because of ticket MODULES-2554(delete database) | ||
#ensure_manifest_apply(host, pp) |
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.
Can you not use the Beaker built-in method "expect_failure" from Beaker-RSpec?
I don't see tests for '89123', '89124', '89125' or '89540'. |
query = "USE #{db_name}; SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE table_name = '#{table_name}';" | ||
run_sql_query(host, run_sql_query_opts(@login_user, @login_passwd, query, 1)) | ||
|
||
puts "Validate the login '#{@login_user}' is successfully created and has correct is_expiration_checked:" |
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.
Message text is incorrect.
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.
Fixed in the next push
@cowofevil updated code passed local test. |
…_sqlserver-login (MODULES-2497) SQLSERVER - Create Automated Tests for sqlserver::login
No description provided.