Skip to content

[tests] split index 7-SNAPSHOT #4012

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

Closed
Mpdreamz opened this issue Aug 9, 2019 · 0 comments
Closed

[tests] split index 7-SNAPSHOT #4012

Mpdreamz opened this issue Aug 9, 2019 · 0 comments

Comments

@Mpdreamz
Copy link
Member

Mpdreamz commented Aug 9, 2019

build.bat seed:98745 integrate latest-7 "writable" "splitindex"

From: #4004

  "acknowledged" : true,
  "shards_acknowledged" : false,

out tests assume shards_acknowledge is always true, sometimes this is not the case.

[xUnit.net 00:06:45.9486021]     Tests.Indices.IndexManagement.SplitIndex.SplitIndexApiTests.ReturnsExpectedResponse [FAIL]
Failed   Tests.Indices.IndexManagement.SplitIndex.SplitIndexApiTests.ReturnsExpectedResponse
Error Message:
 Tests.Framework.EndpointTests.ResponseAssertionException : Expected response.ShardsAcknowledged to be true, but found False.
Response Under Test:
Valid NEST response built from a successful (200) low level call on PUT: /nest-fluentasync-77a092ae/_split/nest-fluentasync-77a092ae-target?pretty=true&error_trace=true
# Audit trail of this API call:
 - [1] HealthyResponse: Node: http://localhost:9200/ Took: 00:00:30.5230768
# Request:
{"settings":{"index.number_of_shards":8}}
# Response:
{
  "acknowledged" : true,
  "shards_acknowledged" : false,
  "index" : "nest-fluentasync-77a092ae-target"
}
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

No branches or pull requests

2 participants