mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Add --ignore-tables test.
This commit is contained in:
@@ -25,7 +25,7 @@ if ( !$dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
else {
|
||||
plan tests => 7;
|
||||
plan tests => 8;
|
||||
}
|
||||
|
||||
# The sandbox servers run with lock_wait_timeout=3 and it's not dynamic
|
||||
@@ -107,6 +107,25 @@ test_filter(
|
||||
['sakila.film_text'],
|
||||
);
|
||||
|
||||
test_filter(
|
||||
[qw(--databases sakila --ignore-tables),
|
||||
'sakila.actor,sakila.address,category,city,payment'
|
||||
],
|
||||
[qw(
|
||||
sakila.country
|
||||
sakila.customer
|
||||
sakila.film
|
||||
sakila.film_actor
|
||||
sakila.film_category
|
||||
sakila.film_text
|
||||
sakila.inventory
|
||||
sakila.language
|
||||
sakila.rental
|
||||
sakila.staff
|
||||
sakila.store
|
||||
)],
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user