-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/issue 396 refine ci for compatibility test
- Loading branch information
1 parent
aca7be4
commit d6cff17
Showing
5 changed files
with
53 additions
and
18 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
docker-compose -f test_compatibility/docker-compose.yaml up -d | ||
docker exec -it proton-server proton client -nm -q "select x from example where _tp_time > earliest_ts() limit 3;" | ||
docker exec -it proton-server proton client -nm -q "select x from example_external limit 3 settings seek_to='earliest';" | ||
sleep 5 | ||
docker exec proton-server proton client -nm -q "select x from example where _tp_time > earliest_ts() limit 3;" | ||
docker exec proton-server proton client -nm -q "select x from example_external limit 3 settings seek_to='earliest';" | ||
docker-compose -f test_compatibility/docker-compose.yaml down |
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
docker-compose -f test_compatibility/docker-compose.yaml up -d | ||
docker exec -it proton-server proton client -nm -q "insert into example (x) values (4)(5)(6);" | ||
docker exec -it proton-server proton client -nm -q "select x from example where _tp_time > earliest_ts() limit 6;" | ||
docker exec -it proton-server proton client -nm -q "insert into example_external (x) values (8)(10)(12);" | ||
docker exec -it proton-server proton client -nm -q "select x from example_external limit 6 settings seek_to='earliest';" | ||
sleep 5 | ||
docker exec proton-server proton client -nm -q "insert into example (x) values (4)(5)(6);" | ||
docker exec proton-server proton client -nm -q "select x from example where _tp_time > earliest_ts() limit 6;" | ||
docker exec proton-server proton client -nm -q "insert into example_external (x) values (8)(10)(12);" | ||
docker exec proton-server proton client -nm -q "select x from example_external limit 6 settings seek_to='earliest';" | ||
docker-compose -f test_compatibility/docker-compose.yaml down |
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
docker-compose -f test_compatibility/docker-compose.yaml up -d | ||
docker exec -it proton-server proton client -nm -q "create stream example(x int);" | ||
docker exec -it proton-server proton client -nm -q "insert into example (x) values (1)(2)(3);" | ||
docker exec -it redpanda rpk topic create example_topic | ||
docker exec -it proton-server proton client -nm -q "create external stream example_external (x int) settings type='kafka', brokers='stream-store:9092',topic='example_topic',data_format = 'JSONEachRow';" | ||
docker exec -it proton-server proton client -nm -q "insert into example_external (x) values (2)(4)(6);" | ||
sleep 5 | ||
docker exec proton-server proton client -nm -q "create stream example(x int);" | ||
docker exec proton-server proton client -nm -q "insert into example (x) values (1)(2)(3);" | ||
docker exec redpanda rpk topic create example_topic | ||
docker exec proton-server proton client -nm -q "create external stream example_external (x int) settings type='kafka', brokers='stream-store:9092',topic='example_topic',data_format = 'JSONEachRow';" | ||
docker exec proton-server proton client -nm -q "insert into example_external (x) values (2)(4)(6);" | ||
docker-compose -f test_compatibility/docker-compose.yaml down |