forked from sqlancer/sqlancer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhenglinli
committed
Aug 10, 2023
1 parent
edfd280
commit eaec059
Showing
1 changed file
with
30 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,8 +375,35 @@ jobs: | |
run: | | ||
mvn -Dtest=TestSQLiteQPG test | ||
stonedb: | ||
name: DBMS Tests (StoneDB) | ||
stonedb-norec: | ||
name: DBMS Tests (StoneDB NoRec) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up StoneDB | ||
run: | | ||
docker run -p 3306:3306 -itd -e MYSQL_ROOT_PASSWORD='123456' stoneatom/stonedb | ||
ContainerID=$(docker ps --filter ancestor=stoneatom/stonedb --format "{{.ID}}") | ||
docker exec $ContainerID bash | ||
sleep 60s | ||
docker exec $ContainerID sed -i "s/tianmu_insert_delayed=1/tianmu_insert_delayed=0/" /opt/stonedb57/install/my.cnf | ||
docker exec $ContainerID /opt/stonedb57/install/bin/mysql -uroot -p123456 -e "CREATE USER 'sqlancer'@'%' IDENTIFIED WITH mysql_native_password BY 'sqlancer'; GRANT ALL PRIVILEGES ON *.* TO 'sqlancer'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES;" | ||
- name: Set up JDK 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 11 | ||
- name: Build | ||
run: mvn -B package -DskipTests=true | ||
- name: StoneDB Tests | ||
run: | | ||
STONEDB_AVAILABLE=true mvn test -Dtest=TestStoneDBNoRec | ||
stonedb-tlp: | ||
name: DBMS Tests (StoneDB TLP) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -398,7 +425,7 @@ jobs: | |
run: mvn -B package -DskipTests=true | ||
- name: StoneDB Tests | ||
run: | | ||
STONEDB_AVAILABLE=true mvn test -Dtest=TestStoneDBFuzz | ||
STONEDB_AVAILABLE=true mvn test -Dtest=TestStoneDBTLP | ||
tidb: | ||
name: DBMS Tests (TiDB) | ||
|