[TEST] Fixes docs tests
587409e893
introduced a bug where an example of the format of a request which contained placeholder values was attempted to be tested. This change adds `NOTCONSOLE` to that snippet as the immediately following snippet tests a concrete example.220212dd69
introduced a bug because the test substitution was looking for `otherhost` where the snippet contained `oldhost`. This change fixes the substitution
This commit is contained in:
parent
6d8e2c6d4c
commit
6b23ee8040
|
@ -129,7 +129,7 @@ PUT /_cluster/settings
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-------------------------------
|
-------------------------------
|
||||||
// CONSOLE
|
// NOTCONSOLE
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ POST _reindex
|
||||||
// CONSOLE
|
// CONSOLE
|
||||||
// TEST[setup:host]
|
// TEST[setup:host]
|
||||||
// TEST[s/^/PUT source\n/]
|
// TEST[s/^/PUT source\n/]
|
||||||
// TEST[s/otherhost:9200",/\${host}"/]
|
// TEST[s/oldhost:9200",/\${host}"/]
|
||||||
// TEST[s/"username": "user",//]
|
// TEST[s/"username": "user",//]
|
||||||
// TEST[s/"password": "pass"//]
|
// TEST[s/"password": "pass"//]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue