File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/pg/test/integration/client Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,8 @@ suite.test('emits notify message', function (done) {
32
32
} ) )
33
33
} )
34
34
35
- const isInTravis = process . env . CI === 'true'
36
- const skip = ! isInTravis
37
-
38
35
// this test fails on travis due to their config
39
- suite . test ( 'emits notice message' , skip , function ( done ) {
36
+ suite . test ( 'emits notice message' , function ( done ) {
40
37
if ( helper . args . native ) {
41
38
console . error ( 'notice messages do not work curreintly with node-libpq' )
42
39
return done ( )
50
47
END
51
48
$$;
52
49
`
53
- client . query ( text , ( ) => {
54
- client . end ( )
50
+ client . query ( 'SET SESSION client_min_messages=notice' , ( err ) => {
51
+ assert . ifError ( err )
52
+ client . query ( text , ( ) => {
53
+ client . end ( )
54
+ } )
55
55
} )
56
56
assert . emits ( client , 'notice' , function ( notice ) {
57
57
assert . ok ( notice != null )
You can’t perform that action at this time.
0 commit comments