Skip to content
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

Use templated index for smoke tests. #250

Merged

Conversation

jmcarp
Copy link
Member

@jmcarp jmcarp commented Apr 25, 2017

Goes with cloudfoundry-community/logsearch-smoke-tests#2. Note--will need to update submodule before merge.

@jmcarp jmcarp changed the title [WIP] Use templated index for smoke tests. Use templated index for smoke tests. Apr 25, 2017
@jmcarp
Copy link
Member Author

jmcarp commented Apr 25, 2017

Updated tests submodule and changelog.

@@ -29,4 +29,4 @@ properties:
default: 9200
smoke_tests.elasticsearch_master.app_index:
description: App index name
default: logs-app
default: 'logs-app-{{.Org}}-{{.Space}}-{{.Time.Format "2006-01-02"}}'
Copy link
Member

Choose a reason for hiding this comment

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

@jmcarp Default app index also need to be updated to logs-app-{{.Org}}-{{.Space}}-{{.Time.Format \"2006.01.02\"}}. Everything else lgtm.

@jmcarp
Copy link
Member Author

jmcarp commented Apr 26, 2017

Updated!

@Infra-Red
Copy link
Member

@jmcarp I've applied the patch and got ERROR: invalid character '2' after object key:value pair error. I guess that escaping also need to be included in the index pattern.

@jmcarp
Copy link
Member Author

jmcarp commented Apr 27, 2017

Thanks, updated to escape double quotes.

@Infra-Red Infra-Red merged commit 039e8e4 into cloudfoundry-community:develop Apr 27, 2017
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.

2 participants