Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Dec 7, 2016

build integrate 5.0.0 readonly getindexapi

Also fixes SkipMethod being too greedy ReadOnly cluster was only
yielding 14 tests.

> 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")
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, good catch 😲

@Mpdreamz Mpdreamz merged commit fe2fb33 into master Dec 8, 2016
@Mpdreamz
Copy link
Member Author

Mpdreamz commented Dec 8, 2016

I'm assuming by your comments this PR is ok @russcam, pulling it in because I need it on another branch 😄

@Mpdreamz Mpdreamz deleted the feature/test-improvements branch December 8, 2016 09:11
Mpdreamz added a commit that referenced this pull request Dec 8, 2016
> build integrate 5.0.0 readonly getindexapi

Also fixes SkipMethod being too greedy ReadOnly cluster was only
yielding 14 tests.
@russcam
Copy link
Contributor

russcam commented Dec 8, 2016

++ I needed it on two branches today 😄

Mpdreamz added a commit that referenced this pull request Dec 8, 2016
> 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
@Mpdreamz
Copy link
Member Author

Mpdreamz commented Dec 8, 2016

ported to 2.x and 5.x

@russcam russcam added the v5.0.0 label Dec 13, 2016
awelburn pushed a commit to Artesian/elasticsearch-net that referenced this pull request Nov 6, 2017
> build integrate 5.0.0 readonly getindexapi

Also fixes SkipMethod being too greedy ReadOnly cluster was only
yielding 14 tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants