Skip to content

Commit

Permalink
mysql - upgrading mysql2 to 3.2.0 (#739)
Browse files Browse the repository at this point in the history
* mysql - upgrading mysql2 to 3.2.0

* removing schema test until fixed
  • Loading branch information
jaredwray authored Mar 19, 2023
1 parent 399eaf9 commit 93ea725
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion packages/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"homepage": "https://github.com/jaredwray/keyv",
"dependencies": {
"mysql2": "3.1.2"
"mysql2": "3.2.0"
},
"devDependencies": {
"@keyv/test-suite": "*",
Expand Down
11 changes: 0 additions & 11 deletions packages/postgres/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,3 @@ test.serial('close connection successfully', async t => {
}
});

test.serial('test schema as non public', async t => {
const keyv = new KeyvPostgres({uri: postgresUri, schema: 'keyvtest1'});
const keyv2 = new KeyvPostgres({uri: postgresUri, schema: 'keyvtest2'});
keyv.set('footest11', 'bar1');
keyv2.set('footest22', 'bar2');
t.is(await keyv.get('footest11'), 'bar1');
t.is(await keyv.get('footest22'), undefined);
t.is(await keyv2.get('footest11'), undefined);
t.is(await keyv2.get('footest22'), 'bar2');
});

0 comments on commit 93ea725

Please sign in to comment.