Compare commits

...

3 Commits

Author SHA1 Message Date
williamlardier 7be560cdef
test 2022-09-14 12:22:14 +02:00
williamlardier 4b19cd6777
test 2022-09-07 11:18:30 +02:00
williamlardier bf82a803ed
test 2022-09-07 10:56:53 +02:00
4 changed files with 6 additions and 5 deletions

View File

@ -8,7 +8,7 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
services: services:
# Label used to access the service container # Label used to access the service container
redis: redis:

View File

@ -366,6 +366,7 @@ export default class Server {
* @param sock - Socket * @param sock - Socket
*/ */
_onClientError(err: Error, sock: net.Socket | tls.TLSSocket) { _onClientError(err: Error, sock: net.Socket | tls.TLSSocket) {
console.log(err)
this._logger.error('client error', { this._logger.error('client error', {
method: 'arsenal.network.Server._onClientError', method: 'arsenal.network.Server._onClientError',
error: err.stack || err, error: err.stack || err,

View File

@ -45,7 +45,7 @@
"simple-glob": "^0.2", "simple-glob": "^0.2",
"socket.io": "~2.3.0", "socket.io": "~2.3.0",
"socket.io-client": "~2.3.0", "socket.io-client": "~2.3.0",
"sproxydclient": "github:scality/sproxydclient#8.0.4", "sproxydclient": "github:scality/sproxydclient#0c4bb8b087293b5b3e4e30284a9e0505955be753",
"utf8": "2.1.2", "utf8": "2.1.2",
"uuid": "^3.0.1", "uuid": "^3.0.1",
"werelogs": "scality/werelogs#8.1.0", "werelogs": "scality/werelogs#8.1.0",
@ -79,7 +79,7 @@
"lint": "eslint $(git ls-files '*.js')", "lint": "eslint $(git ls-files '*.js')",
"lint_md": "mdlint $(git ls-files '*.md')", "lint_md": "mdlint $(git ls-files '*.md')",
"lint_yml": "yamllint $(git ls-files '*.yml')", "lint_yml": "yamllint $(git ls-files '*.yml')",
"test": "jest tests/unit", "test": "jest tests/unit/network/http/server.spec.js",
"build": "tsc", "build": "tsc",
"prepare": "yarn build", "prepare": "yarn build",
"ft_test": "jest tests/functional --testTimeout=120000 --forceExit" "ft_test": "jest tests/functional --testTimeout=120000 --forceExit"

View File

@ -6011,9 +6011,9 @@ sprintf-js@~1.0.2:
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
"sproxydclient@github:scality/sproxydclient#8.0.4": "sproxydclient@github:scality/sproxydclient#0c4bb8b087293b5b3e4e30284a9e0505955be753":
version "8.0.4" version "8.0.4"
resolved "https://codeload.github.com/scality/sproxydclient/tar.gz/d413a3ee26dc090a6db1af6cf7b0094f131a4913" resolved "https://codeload.github.com/scality/sproxydclient/tar.gz/0c4bb8b087293b5b3e4e30284a9e0505955be753"
dependencies: dependencies:
async "^3.2.0" async "^3.2.0"
werelogs scality/werelogs#8.1.0 werelogs scality/werelogs#8.1.0