Skip to content

Commit

Permalink
mysqljs: disable test/integration/connection/test-statistics.js - The…
Browse files Browse the repository at this point in the history
… expression evaluated to a falsy value

not ok 28 test/integration/connection/test-statistics.js
  /code/v2.18.1/lib/protocol/Parser.js:437
        throw err; // Rethrow non-MySQL errors
        ^

  AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

    assert.ok(data.hasOwnProperty('flush_tables'))

      at Statistics.<anonymous> (/code/v2.18.1/test/integration/connection/test-statistics.js:16:12)
      at Statistics.<anonymous> (/code/v2.18.1/lib/Connection.js:526:10)
      at Statistics._callback (/code/v2.18.1/lib/Connection.js:488:16)
      at Statistics.Sequence.end (/code/v2.18.1/lib/protocol/sequences/Sequence.js:83:24)
      at Statistics.StatisticsPacket (/code/v2.18.1/lib/protocol/sequences/Statistics.js:21:8)
      at Protocol._parsePacket (/code/v2.18.1/lib/protocol/Protocol.js:291:23)
      at Parser._parsePacket (/code/v2.18.1/lib/protocol/Parser.js:433:10)
      at Parser.write (/code/v2.18.1/lib/protocol/Parser.js:43:10)
      at Protocol.write (/code/v2.18.1/lib/protocol/Protocol.js:38:16)
      at Socket.<anonymous> (/code/v2.18.1/lib/Connection.js:88:28) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: false,
    expected: true,
    operator: '=='
  }

  Node.js v17.9.1
  • Loading branch information
grooverdan committed Mar 26, 2024
1 parent 33db270 commit 7d45a93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockerfiles/ecofiles/test-mysqljs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ rm -f test/unit/connection/test-connection-ssl-reject.js \
test/unit/connection/test-connection-ssl-max-version-reject.js \
test/unit/connection/test-connection-ssl-min-version-accept.js \
test/unit/connection/test-connection-ssl-min-version-reject.js \
test/integration/connection/test-server-timeout-disconnect.js
test/integration/connection/test-server-timeout-disconnect.js \
test/integration/connection/test-statistics.js

#npm install -g [email protected]
npm install
Expand Down

0 comments on commit 7d45a93

Please sign in to comment.