Skip to content

Commit

Permalink
Merge pull request #818 from github/replica-tests-8-0
Browse files Browse the repository at this point in the history
Replication tests: MySQL 8.0
  • Loading branch information
Shlomi Noach authored Feb 5, 2020
2 parents ea339b6 + c30e586 commit 5bffec3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 36 deletions.
33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions localtests/swap-uk-uk/create.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
drop table if exists gh_ost_test;
create table gh_ost_test (
id bigint,
id bigint not null,
i int not null,
ts timestamp(6),
ts timestamp(6) not null,
unique key id_uidx(id),
unique key its_uidx(i, ts)
) ;
Expand Down
6 changes: 5 additions & 1 deletion script/cibuild-gh-ost-replica-tests
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ test_mysql_version() {

export PATH="${PWD}/gh-ost-ci-env/bin/:${PATH}"

gh-ost-test-mysql-master -uroot -e "grant all on *.* to 'gh-ost'@'%' identified by 'gh-ost'"
gh-ost-test-mysql-master -uroot -e "create user 'gh-ost'@'%' identified by 'gh-ost'"
gh-ost-test-mysql-master -uroot -e "grant all on *.* to 'gh-ost'@'%'"

echo "### Running gh-ost tests for $mysql_version"
./localtests/test.sh -b bin/gh-ost
Expand All @@ -61,6 +62,9 @@ test_mysql_version() {
echo "Building..."
. script/build
# Test all versions:
find gh-ost-ci-env/mysql-tarballs/ -name "*.tar.gz" | while read f ; do basename $f ".tar.gz" ; done | sort -r | while read mysql_version ; do
echo "found MySQL version: $mysql_version"
done
find gh-ost-ci-env/mysql-tarballs/ -name "*.tar.gz" | while read f ; do basename $f ".tar.gz" ; done | sort -r | while read mysql_version ; do
test_mysql_version "$mysql_version"
done

0 comments on commit 5bffec3

Please sign in to comment.