-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Remove test usages of getDefaultBackingIndexName
in DS and LogsDB tests
#127384
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
…ests We replace usages of time sensitive `DataStream#getDefaultBackingIndexName` with the retrieval of the name via an API call. The problem with using the time sensitive method is that we can have test failures around midnight. Relates elastic#123376
Pinging @elastic/es-data-management (Team:Data Management) |
GetDataStreamAction.Response response = safeGet( | ||
client().execute( | ||
GetDataStreamAction.INSTANCE, | ||
new GetDataStreamAction.Request(TEST_REQUEST_TIMEOUT, new String[] { dataStreamName }) | ||
new GetDataStreamAction.Request(SAFE_AWAIT_TIMEOUT, new String[] { dataStreamName }) |
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.
Since safeGet(...)
uses SAFE_AWAIT_TIMEOUT
, I changed the timeout here to avoid confusion.
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.
LGTM! So much better :)
…ests (elastic#127384) We replace usages of time sensitive `DataStream#getDefaultBackingIndexName` with the retrieval of the name via an API call. The problem with using the time sensitive method is that we can have test failures around midnight. Relates elastic#123376
…ests (elastic#127384) We replace usages of time sensitive `DataStream#getDefaultBackingIndexName` with the retrieval of the name via an API call. The problem with using the time sensitive method is that we can have test failures around midnight. Relates elastic#123376
…ests (elastic#127384) We replace usages of time sensitive `DataStream#getDefaultBackingIndexName` with the retrieval of the name via an API call. The problem with using the time sensitive method is that we can have test failures around midnight. Relates elastic#123376
We replace usages of time sensitive
DataStream#getDefaultBackingIndexName
with the retrieval of the name via an API call. The problem with using the time sensitive method is that we can have test failures around midnight.Relates #123376