-
Notifications
You must be signed in to change notification settings - Fork 994
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4614 from sysown/v2.6.x-add_test_groups
V2.6.x add test groups
- Loading branch information
Showing
7 changed files
with
235 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
# make sure we have correct cwd | ||
pushd $(dirname $0) > /dev/null | ||
|
||
|
||
GRPS=$(echo $(ls -d */ | tr -d / | awk '{ print "\""$1"\"," }')) | ||
|
||
echo "{" > groups.json | ||
ls -1 ../tests/*-t | sed 's|../tests/||' | awk '{ print " \""$0"\" : [ \"default\", __GRPS__ ]," }' >> groups.json | ||
ls -1 ../tests_with_deps/deprecate_eof_support/*-t | sed 's|../tests_with_deps/deprecate_eof_support/||' | awk '{ print " \""$0"\" : [ \"default\", __GRPS__ ]," }' >> groups.json | ||
sed -i '$ s/.$//' groups.json | ||
echo "}" >> groups.json | ||
sed -i "s/__GRPS__/${GRPS%,}/" groups.json | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
test/tap/groups/mysql-auto_increment_delay_multiplex=0/pre-proxysql.sql
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,4 @@ | ||
# proxysql settings | ||
SET mysql-auto_increment_delay_multiplex=0; | ||
LOAD MYSQL VARIABLES TO RUNTIME; | ||
SAVE MYSQL VARIABLES TO DISK; |
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,4 @@ | ||
# proxysql settings | ||
SET mysql-multiplexing='false'; | ||
LOAD MYSQL VARIABLES TO RUNTIME; | ||
SAVE MYSQL VARIABLES TO DISK; |
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,4 @@ | ||
# proxysql settings | ||
SET mysql-query_digests=0; | ||
LOAD MYSQL VARIABLES TO RUNTIME; | ||
SAVE MYSQL VARIABLES TO DISK; |
4 changes: 4 additions & 0 deletions
4
test/tap/groups/mysql-query_digests_keep_comment=1/pre-proxysql.sql
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,4 @@ | ||
# proxysql settings | ||
SET mysql-query_digests_keep_comment=1; | ||
LOAD MYSQL VARIABLES TO RUNTIME; | ||
SAVE MYSQL VARIABLES TO DISK; |