Skip to content

Instantly share code, notes, and snippets.

@gdestuynder
Created October 15, 2018 22:10
Show Gist options
  • Save gdestuynder/bcc6e46819af93061199506c5dfee5bd to your computer and use it in GitHub Desktop.
Save gdestuynder/bcc6e46819af93061199506c5dfee5bd to your computer and use it in GitHub Desktop.
============================================================================= FAILURES =============================================================================
_________________________________________________________________ TestGetIndices.test_get_indices __________________________________________________________________
self = <test_elasticsearch_client.TestGetIndices object at 0x7f5c16bbc550>
def test_get_indices(self):
if pytest.config.option.delete_indexes:
self.es_client.create_index('test_index')
time.sleep(1)
indices = self.es_client.get_indices()
indices.sort()
> assert indices == [self.alert_index_name, self.previous_event_index_name, self.event_index_name, 'test_index']
E AssertionError: assert ['.kibana', '... 'test_index'] == ['alerts-20181... 'test_index']
E At index 0 diff: u'.kibana' != 'alerts-201810'
E Left contains more items, first extra item: 'mozdefstate'
E Use -v to get the full diff
tests/lib/test_elasticsearch_client.py:364: AssertionError
============================================================== 1 failed, 444 passed in 237.56 seconds ==============================================================
make: *** [Makefile:43: run-tests] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment