-
-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test/buddy processes falling (#2966)
* Update test-unserialize-error-absence-kafka-operations.rec and move it to the buddy folder
- Loading branch information
1 parent
8eadffd
commit a796f9f
Showing
1 changed file
with
83 additions
and
0 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
test/clt-tests/buddy/test-unserialize-error-absence-kafka-operations.rec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
––– block: ../base/start-searchd ––– | ||
––– input ––– | ||
seq 1 5 | xargs -I{} bash -c "mysql -h0 -P9306 -e 'DROP MATERIALIZED VIEW view_table;' || true; mysql -h0 -P9306 -e 'DROP SOURCE kafka;' || true; mysql -h0 -P9306 -e 'DROP TABLE kafka_test;' || true; mysql -h0 -P9306 -e \"CREATE SOURCE kafka (id bigint, term text, abbrev text, GlossDef json) type=\\\"kafka\\\" broker_list=\\\"kafka:9092\\\" topic_list=\\\"my-data\\\" consumer_group=\\\"manticore\\\" num_consumers=\\\"2\\\" batch=50; CREATE TABLE kafka_test (id bigint, name text, short_name text, received_at text, size multi); CREATE MATERIALIZED VIEW view_table TO kafka_test AS SELECT id, term as name, abbrev as short_name, UTC_TIMESTAMP() as received_at, GlossDef.size as size FROM kafka; SHOW SOURCES; SHOW TABLES; SHOW MVS;\"" | ||
––– output ––– | ||
ERROR 1064 (42000) at line 1: DROP TABLE failed: unknown table 'kafka_test' | ||
+-------+ | ||
| name | | ||
+-------+ | ||
| kafka | | ||
+-------+ | ||
+------------+------+ | ||
| Table | Type | | ||
+------------+------+ | ||
| kafka_test | rt | | ||
+------------+------+ | ||
+------------+ | ||
| name | | ||
+------------+ | ||
| view_table | | ||
+------------+ | ||
+-------+ | ||
| name | | ||
+-------+ | ||
| kafka | | ||
+-------+ | ||
+------------+------+ | ||
| Table | Type | | ||
+------------+------+ | ||
| kafka_test | rt | | ||
+------------+------+ | ||
+------------+ | ||
| name | | ||
+------------+ | ||
| view_table | | ||
+------------+ | ||
+-------+ | ||
| name | | ||
+-------+ | ||
| kafka | | ||
+-------+ | ||
+------------+------+ | ||
| Table | Type | | ||
+------------+------+ | ||
| kafka_test | rt | | ||
+------------+------+ | ||
+------------+ | ||
| name | | ||
+------------+ | ||
| view_table | | ||
+------------+ | ||
+-------+ | ||
| name | | ||
+-------+ | ||
| kafka | | ||
+-------+ | ||
+------------+------+ | ||
| Table | Type | | ||
+------------+------+ | ||
| kafka_test | rt | | ||
+------------+------+ | ||
+------------+ | ||
| name | | ||
+------------+ | ||
| view_table | | ||
+------------+ | ||
+-------+ | ||
| name | | ||
+-------+ | ||
| kafka | | ||
+-------+ | ||
+------------+------+ | ||
| Table | Type | | ||
+------------+------+ | ||
| kafka_test | rt | | ||
+------------+------+ | ||
+------------+ | ||
| name | | ||
+------------+ | ||
| view_table | | ||
+------------+ | ||
––– input ––– | ||
tail -n 1000 /var/log/manticore/searchd.log | grep -i "unserialize" | ||
––– output ––– |