-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Adds test collections filtering #2470
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
Conversation
> build integrate 5.0.0 readonly getindexapi Also fixes SkipMethod being too greedy ReadOnly cluster was only yielding 14 tests.
| IF /I "%1%"=="integrate" ( | ||
| IF NOT [%2]==[] (set ESVERSIONS="%2") | ||
| IF NOT [%3]==[] (set NEST_INTEGRATION_CLUSTER="%3") | ||
| IF NOT [%4]==[] (set NEST_TEST_FILTER="%4") |
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.
AW YEAH 👍
| var classOfMethod = Type.GetType(testMethod.TestClass.Class.Name, true, true); | ||
| var method = classOfMethod.GetMethod(testMethod.Method.Name); | ||
| var collectionType = testMethod.TestClass?.TestCollection?.CollectionDefinition?.Name; | ||
| var method = classOfMethod.GetMethod(testMethod.Method.Name, BindingFlags.FlattenHierarchy | BindingFlags.NonPublic | BindingFlags.Public) |
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.
my bad, good catch 😲
|
I'm assuming by your comments this PR is ok @russcam, pulling it in because I need it on another branch 😄 |
> build integrate 5.0.0 readonly getindexapi Also fixes SkipMethod being too greedy ReadOnly cluster was only yielding 14 tests.
|
++ I needed it on two branches today 😄 |
> build integrate 5.0.0 readonly getindexapi Also fixes SkipMethod being too greedy ReadOnly cluster was only yielding 14 tests. Conflicts: build/scripts/Targets.fsx src/Tests/Framework/Configuration/EnvironmentConfiguration.cs src/Tests/Framework/Configuration/ITestConfiguration.cs src/Tests/Framework/Configuration/NodeConfiguration.cs src/Tests/Framework/Configuration/TestConfigurationBase.cs src/Tests/Framework/Configuration/YamlConfiguration.cs src/Tests/Framework/XUnitPlumbing/IntegrationTestDiscoverer.cs src/Tests/Framework/XUnitPlumbing/NestTestDiscoverer.cs src/Tests/Framework/XUnitPlumbing/UnitTestDiscoverer.cs src/Tests/tests.yaml
|
ported to |
> build integrate 5.0.0 readonly getindexapi Also fixes SkipMethod being too greedy ReadOnly cluster was only yielding 14 tests.
Also fixes SkipMethod being too greedy ReadOnly cluster was only
yielding 14 tests.