From b479272dd96da7ecd42c96ed71e7358f85c594aa Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 11 Nov 2021 08:07:15 +0100 Subject: [PATCH 1/2] npm: Update to latest eslint-plugin-jsx-a11y Version 6.5.1 got released which works with ESLint 7 again and fixes [1]. Bump the dependency. This essentially reverts the hack from commit c08230873bd59. [1] https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/824 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a64b64209..e76392a05 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "eslint-config-standard-react": "^9.2.0", "eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-import": "^2.22.1", - "eslint-plugin-jsx-a11y": "~6.4.1", + "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.21.0", From 97304ba73ea81f6232c2ec2560c155c22d91db5f Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 11 Nov 2021 08:09:12 +0100 Subject: [PATCH 2/2] test: Silence unexpected message about failed VNC connection Stopping the VM while the console page is open also severs the connection to the VNC port (as the VNC server is going down). Ignore the corresponding error message. --- test/check-machines-consoles | 1 + 1 file changed, 1 insertion(+) diff --git a/test/check-machines-consoles b/test/check-machines-consoles index 5e34a7b40..52411e76b 100755 --- a/test/check-machines-consoles +++ b/test/check-machines-consoles @@ -146,6 +146,7 @@ class TestMachinesConsoles(VirtualMachinesCase): ".*Connection reset by peer") self.allow_browser_errors("Disconnection timed out.") self.allow_journal_messages(".* couldn't shutdown fd: Transport endpoint is not connected") + self.allow_journal_messages("127.0.0.1:5900: couldn't read: Connection refused") def testSwitchConsoleFromSerialToGraphical(self): b = self.browser