Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Commit

Permalink
Remove menagerie from data-load tests
Browse files Browse the repository at this point in the history
Not all MySQL downloads include `mysqlimport`, which is needed
to install the menagerie database
  • Loading branch information
datacharmer committed Sep 5, 2022
1 parent f9d9324 commit d31bb85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
14 changes: 0 additions & 14 deletions ts/templates/feature/data-load-single.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ stdout 'world\s+93 kB world database'
stdout 'worldx\s+99 kB world_X database'
stdout 'sakila\s+732 kB Sakila database'

# load data menagerie

exec dbdeployer data-load get menagerie msb_{{.DbPathVer}}_dataload
stdout 'downloading https://.*/menagerie-db.tar.gz'
stdout 'Unpacking .*/sandboxes/msb_{{.DbPathVer}}_dataload/menagerie-db.tar.gz'
stdout 'Running .*/sandboxes/msb_{{.DbPathVer}}_dataload/load_db.sh'
stdout 'menagerie.pet: Records: 8 Deleted: 0 Skipped: 0'
stdout 'menagerie.event: Records: 10 Deleted: 0 Skipped: 0'

# load data world

exec dbdeployer data-load get world msb_{{.DbPathVer}}_dataload
Expand All @@ -74,17 +65,12 @@ stdout 'Running .*/sandboxes/msb_{{.DbPathVer}}_dataload/load_db.sh'
# load data check schemas

exec $sb_dir/use -e 'show schemas'
stdout 'menagerie'
stdout 'world\b'
stdout 'world_x'
stdout 'sakila'

# load data check tables

exec $sb_dir/use -e 'show tables from menagerie'
stdout 'event'
stdout 'pet'

exec $sb_dir/use -e 'show tables from world'
stdout 'city'
stdout 'country'
Expand Down
19 changes: 0 additions & 19 deletions ts/templates/replication/replication-gtid.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,6 @@ stdout 'world\s+93 kB world database'
stdout 'worldx\s+99 kB world_X database'
stdout 'sakila\s+732 kB Sakila database'

# load data menagerie

exec dbdeployer data-load get menagerie rsandbox_{{.DbPathVer}}_gtid
stdout 'downloading https://.*/menagerie-db.tar.gz'
stdout 'Unpacking .*/sandboxes/rsandbox_{{.DbPathVer}}_gtid/menagerie-db.tar.gz'
stdout 'Running .*/sandboxes/rsandbox_{{.DbPathVer}}_gtid/load_db.sh'
stdout 'menagerie.pet: Records: 8 Deleted: 0 Skipped: 0'
stdout 'menagerie.event: Records: 10 Deleted: 0 Skipped: 0'

# load data world

exec dbdeployer data-load get world rsandbox_{{.DbPathVer}}_gtid
Expand All @@ -111,27 +102,17 @@ stdout 'Running .*/sandboxes/rsandbox_{{.DbPathVer}}_gtid/load_db.sh'
# load data check schemas

exec $sb_dir/m -e 'show schemas'
stdout 'menagerie'
stdout 'world\b'
stdout 'world_x'
stdout 'sakila'

exec $sb_dir/s1 -e 'show schemas'
stdout 'menagerie'
stdout 'world\b'
stdout 'world_x'
stdout 'sakila'

# load data check tables

exec $sb_dir/m -e 'show tables from menagerie'
stdout 'event'
stdout 'pet'

exec $sb_dir/s1 -e 'show tables from menagerie'
stdout 'event'
stdout 'pet'

exec $sb_dir/m -e 'show tables from world'
stdout 'city'
stdout 'country'
Expand Down

0 comments on commit d31bb85

Please sign in to comment.