You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,16 @@ rake test:yaml
72
72
73
73
Check `rake -T` for more test tasks.
74
74
75
+
## Environment variables
76
+
77
+
You can use the following environment variables to customize running the Rest API tests:
78
+
*`TEST_ES_SERVER` - the Elasticsearch endpoint where the tests will be run.
79
+
*`ELASTIC_PASSWORD` - the endpoint password, default: `changeme`.
80
+
*`ES_YAML_TESTS_BRANCH` - which branch from the [Elasticsearch Client tests](https://github.com/elastic/elasticsearch-clients-tests/) suite to run.
81
+
*`DEBUG` - if set, the Logger level will be set to `DEBUG`, otherwise the value will be `WARN`.
82
+
*`QUIET` - this is used by the [test runner](https://github.com/elastic/es-test-runner-ruby). If set to `true`, display for passing tests will be more compact (not showing file/test names).
83
+
*`SINGLE_TEST` - You can specify this value to run a single test from the suite, instead of the whole suite. E.g.: `SINGLE_TEST=migration/20_reindex.yml rake test:yaml`
84
+
75
85
## Testing Serverless
76
86
77
87
To run the [Elasticsearch Client tests](https://github.com/elastic/elasticsearch-clients-tests/) Serverless specific test suite, the following environment variables must be provided:
0 commit comments