-
-
Notifications
You must be signed in to change notification settings - Fork 812
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
Update tests to be able to run them outside of AppVeyor (part 2) #9413
Conversation
For |
I also added some changes to commands to fix some issues to be able to run the tests. About the change to |
I don't think adding whoisactive is a problem. I should have enough perms to do it, wait a bit |
done @andreasjordan , check if everything matches |
In my local lab, all 699 tests complete in around 90 minutes. These currently have failing tests, will work on them in the next week: Add-DbaAgDatabase.Tests.ps1 Update: Updated the list, because some tests passed on the second execution. |
Test for
Let's see if it works on instance3... |
@niphlod - sorry, I need to learn a little more about the tests. I changed Invoke-DbaWhoIsActive tests to use instance3 instead of instannce2 to see if it fails on this instance as well. What do I need to changes also to more the test in the other test group? |
hi @andreasjordan , the "logic" that assigns tests to a specific job within the matrix of concurrent jobs in appveyor (we name it as "scenario") is within appveyor.common.ps1. Trying to sum up all the things involved.... pester.groups.ps1 is the place where "ties are created" between jobs on appveyor and scenarios, based on:
So, as soon as a test has just "instance3" in it, without "instance1", it'll go (or, at least, that's the idea) automatically into the 2016_2017 scenario. |
Thanks all! I am happy to accept what make sense for the lab materials. |
Followup to #9406
I want to run all the tests on a local lab using "real world" sql server instances.
These are some fixes to get all -DbaDb tests to run on my local lab against three local instanes without any failures.