File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ function test_default_fields_are_filled_out(){
7070 basht_assert " echo '${output} ' | jq -r '.hits.hits[0]._source.message'" == " $message "
7171 basht_assert " echo '${output} ' | jq -r '.hits.hits[0]._source.source'" == " stdout"
7272 basht_assert " echo '${output} ' | jq -r '.hits.hits[0]._source.partial'" == " true"
73- basht_assert " echo '${output} ' | jq -r '.hits.hits[0]._source.timestamp'" =~ ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]+Z $
73+ basht_assert " echo '${output} ' | jq -r '.hits.hits[0]._source.timestamp'" =~ ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]+ ( \+ 02:00 | Z) $
7474 basht_assert " echo '${output} ' | jq -r '.hits.hits[0]._source[]' | wc -l" == 8
7575
7676}
Original file line number Diff line number Diff line change 33ELASTICSEARCH_IP=" 172.31.0.2"
44ELASTICSEARCH_PORT=" 9200"
55
6- ELASTICSEARCH_INDEX=" docker"
6+ ELASTICSEARCH_INDEX=" docker- $( date +%Y.%m.%d ) "
77ELASTICSEARCH_TYPE=" log"
88
99WEBAPPER_IP=" 172.31.0.3"
You can’t perform that action at this time.
0 commit comments