From 4c5d178c40fee6cf3d826578d0b810222b23124a Mon Sep 17 00:00:00 2001 From: Agnes Lin Date: Mon, 16 Dec 2019 10:07:48 -0500 Subject: [PATCH] try fix share tests random error --- test/postgresql.autoupdate.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/postgresql.autoupdate.test.js b/test/postgresql.autoupdate.test.js index 7a0da8ff..2b841833 100644 --- a/test/postgresql.autoupdate.test.js +++ b/test/postgresql.autoupdate.test.js @@ -363,6 +363,9 @@ describe('autoupdate', function() { }); describe('foreign key constraint', function() { + before(function(done) { + ds.adapter.dropTable(['Product', 'CustomerTest2', 'CustomerTest3'], done); + }); it('should create, update, and delete foreign keys', function(done) { const product_schema = { 'name': 'Product',