Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented May 30, 2018

NOTE this also removes net45 support! backport of #3242 to 6.x

NOTE this also removes net45 support!

* removed much of the framework and moved to Elastic.Xunit

* deleted code now part of Elastic.Xunit and made everything compile again

* readonly cluster tests are now working against Elastic.Xunit

* update to Elastic.Xunit that fixed the test discovery

* unit tests are back to green

* plugin installation works again, readonly integration tests all good for netcore but wont run for net46 :/

* update to latest Elastic.Xunit and moved plugins to their dedicated clusters

* writable cluster now needs analysis-phonetic too

* readonly tests work again

* make sure IntegrationSetup is called once

* XPack integration tests are now green

* add server validation callback for cluster clients

* update to latest abstractions, rename machinelearning cluster, graphexplore should be on xpack cluster not readonly

* Cluster and IntegrationTest Client consolidation.

Cluster and IntegrationTestBase both expose a client, consolidate these
to point to cluster's client.

Make sure response.OriginalException is passed as inner exception to
PipelineException

* fixed most of the certificates cluster tests, client certificates is broken for now, will fix this over at Elastic.Managed.Ephemeral

* Implemented the SkipTestAttributeBase implementations so that unit tests are all green again too

* ProjectReferenceOnly did not listen to the right environment variable AppVeyr sets to indicate its testing the nuget packages, not the project reference

* addressed review comments from @russcam

Conflicts:
	build/Clients.Common.targets
	src/Tests/ClientConcepts/Certificates/WorkingWithCertificates.doc.cs
	src/Tests/ClientConcepts/HighLevel/Inference/Equality/FieldEqualityTests.cs
	src/Tests/ClientConcepts/HighLevel/Inference/Equality/FieldsEqualityTests.cs
	src/Tests/Document/Multiple/ReindexOnServer/ReindexOnServerRemoteApiTests.cs
	src/Tests/Framework/EndpointTests/ApiIntegrationTestBase.cs
	src/Tests/Framework/ManagedElasticsearch/Nodes/ElasticsearchNode.cs
	src/Tests/Framework/ManagedElasticsearch/Nodes/NodeFileSystem.cs
	src/Tests/Framework/ManagedElasticsearch/Plugins/ElasticsearchPluginCollection.cs
	src/Tests/Framework/ManagedElasticsearch/Plugins/ElasticsearchPluginConfiguration.cs
	src/Tests/Framework/ManagedElasticsearch/Process/XplatManualResetEvent.cs
	src/Tests/Framework/ManagedElasticsearch/Tasks/InstallationTasks/EnsureJavaHomeEnvironmentVariableIsSet.cs
	src/Tests/Framework/ManagedElasticsearch/Tasks/InstallationTasks/InstallationTaskBase.cs
	src/Tests/Framework/ManagedElasticsearch/Tasks/ValidationTasks/ValidateLicenseTask.cs
	src/Tests/Framework/TestClient.cs
	src/Tests/Framework/Xunit/NestTestFramework.cs
	src/Tests/Framework/Xunit/TestAssemblyRunner.cs
	src/Tests/Framework/Xunit/TestFrameworkExecutor.cs
	src/Tests/Program.cs
	src/Tests/Reproduce/ConnectionReuseAndBalancing.cs
@Mpdreamz Mpdreamz changed the title Feature/net abstractions (#3242) Feature/net abstractions backport 6.x May 30, 2018
@russcam
Copy link
Contributor

russcam commented Jun 4, 2018

This removes net45 support for 6.x?

@Mpdreamz Mpdreamz merged commit f719e96 into 6.x Jun 11, 2018
@Mpdreamz Mpdreamz deleted the feature/net-abstractions-6x branch June 11, 2018 08:52
Mpdreamz added a commit that referenced this pull request Jun 22, 2018
…icsearchClientException, becuase its IConnection throws and that WebException is now preserved with the backport of #3266
codebrain pushed a commit that referenced this pull request Jun 25, 2018
#3302)

`net46` sets `WebException` as `OriginalException` whereas netcore sets `ElasticsearchClientException`, because its `IConnection` throws and that `WebException` is now preserved with the backport of #3266
codebrain pushed a commit that referenced this pull request Jun 25, 2018
#3302)

`net46` sets `WebException` as `OriginalException` whereas netcore sets `ElasticsearchClientException`, because its `IConnection` throws and that `WebException` is now preserved with the backport of #3266
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.

4 participants