Skip to content

Commit 4d88e61

Browse files
authored
Merge 616b232 into a62163c
2 parents a62163c + 616b232 commit 4d88e61

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/workflows/clt_tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
test_prefix: test/clt-tests/optimisation-and-update/
5353
- name: Sharding and Replication
5454
test_prefix: test/clt-tests/sharding/
55+
- name: Bugs
56+
test_prefix: test/clt-tests/bugs/
5557
- name: Indexer
5658
test_prefix: test/clt-tests/indexer/
5759
steps:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
––– input –––
2+
export INSTANCE=1
3+
––– output –––
4+
––– block: ./replication/start-searchd-precach –––
5+
––– input –––
6+
export INSTANCE=2
7+
––– output –––
8+
––– block: ./replication/start-searchd-precach –––
9+
––– input –––
10+
export CLUSTER_NAME=c
11+
––– output –––
12+
––– block: ./replication/create-cluster –––
13+
––– block: ./replication/join-cluster-on-all-nodes –––
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Test that covers the following issue: https://github.com/manticoresoftware/manticoresearch/issues/3048
2+
––– block: ../base/start-cluster-2-nodes –––
3+
––– input –––
4+
mysql -h0 -P1306 -e "create table system.test (id bigint, name string, value json)"
5+
––– output –––
6+
––– input –––
7+
mysql -h0 -P1306 -e "alter cluster c add system.test"
8+
––– output –––
9+
––– input –––
10+
for i in {1..20}; do
11+
mysql -h0 -P1306 -e "update c:system.test set value = '{\"a\":2}' where name = 'node'" &
12+
mysql -h0 -P2306 -e "insert into c:system.test values (0, 'slave', '{\"a\":1}')" &
13+
done
14+
––– output –––
15+
––– input –––
16+
timeout 10 sh -c "wait && echo 'All good'" || echo "There is issue with hang up of parallel request in different nodes"
17+
––– output –––
18+
All good

0 commit comments

Comments
 (0)