test: skip connecting 20 times on non-linux (#23239)

This commit is contained in:
Dmitry Gozman 2023-05-23 12:16:22 -07:00 committed by GitHub
parent fd75b85510
commit b1db4a8191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -457,7 +457,9 @@ for (const kind of ['launchServer', 'run-server'] as const) {
expect(error.message).toContain('Path is not available when connecting remotely. Use saveAs() to save a local copy.');
});
test('should be able to connect 20 times to a single server without warnings', async ({ connect, startRemoteServer }) => {
test('should be able to connect 20 times to a single server without warnings', async ({ connect, startRemoteServer, platform }) => {
test.skip(platform !== 'linux', 'Testing non-platform specific code');
const remoteServer = await startRemoteServer(kind);
let warning = null;