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

override index name in test files #1

Open
daureg opened this issue Nov 5, 2021 · 0 comments
Open

override index name in test files #1

daureg opened this issue Nov 5, 2021 · 0 comments

Comments

@daureg
Copy link

daureg commented Nov 5, 2021

I don't like the situation when I'm forced to use this tool, but when it does happen it works very well 😅

However, there one feature I could use, and I'm not sure what's the cleanest implementation.

Let's say I have 2 environments (live & staging) with different index names referring to the same data (say index_11 in live and index_11_snapshot_20211105 in staging). I don't want to duplicate my test files to run separately live and staging test (so all test files should have "index": "index_11"), but I when I'm developing and testing against staging, I would like to override "index": "index_11" from the file by "index": "index_11_snapshot_20211105" (either with a command line argument or environment variable).
Could it be done in LoadTestCaseSetup() for instance?

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

1 participant