mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
skip data duplicator
This commit is contained in:
parent
0d1b6702a7
commit
89c9d5e792
@ -5,7 +5,7 @@ const dataDuplicator = require('dbgate-api/src/shell/dataDuplicator');
|
|||||||
const { runCommandOnDriver } = require('dbgate-tools');
|
const { runCommandOnDriver } = require('dbgate-tools');
|
||||||
|
|
||||||
describe('Data duplicator', () => {
|
describe('Data duplicator', () => {
|
||||||
test.each(engines.map(engine => [engine.label, engine]))(
|
test.each(engines.filter(x => !x.skipDataDuplicator).map(engine => [engine.label, engine]))(
|
||||||
'Insert simple data - %s',
|
'Insert simple data - %s',
|
||||||
testWrapper(async (conn, driver, engine) => {
|
testWrapper(async (conn, driver, engine) => {
|
||||||
runCommandOnDriver(conn, driver, dmp =>
|
runCommandOnDriver(conn, driver, dmp =>
|
||||||
|
@ -148,12 +148,13 @@ const engines = [
|
|||||||
skipUnique: true,
|
skipUnique: true,
|
||||||
skipAutoIncrement: true,
|
skipAutoIncrement: true,
|
||||||
skipPkColumnTesting: true,
|
skipPkColumnTesting: true,
|
||||||
|
skipDataDuplicator: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const filterLocal = [
|
const filterLocal = [
|
||||||
// filter local testing
|
// filter local testing
|
||||||
'MySQL',
|
'-MySQL',
|
||||||
'-MariaDB',
|
'-MariaDB',
|
||||||
'-PostgreSQL',
|
'-PostgreSQL',
|
||||||
'-SQL Server',
|
'-SQL Server',
|
||||||
|
Loading…
Reference in New Issue
Block a user