package com.hazelcast.jet.impl.deployment;

import com.hazelcast.client.test.TestHazelcastFactory;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.test.HazelcastParallelClassRunner;
import com.hazelcast.test.TestHazelcastInstanceFactory;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.After;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;

@Category(QuickTest.class)
@RunWith(HazelcastParallelClassRunner.class)
public class ClientDeploymentTest extends AbstractDeploymentTest {

    private TestHazelcastFactory factory = new TestHazelcastFactory();

    @After
    public void tearDown() {
        factory.terminateAll();
    }


    @Override
    TestHazelcastInstanceFactory getFactory() {
        return factory;
    }

    @Override
    HazelcastInstance getHazelcastInstance() {
        return factory.newHazelcastClient();
    }
}

@@ -317,24 +317,47 @@
 unit.After;%0A
+import org.junit.Rule;%0A
 import org.j
@@ -391,24 +391,56 @@
 s.Category;%0A
+import org.junit.rules.Timeout;%0A
 import org.j
@@ -601,16 +601,88 @@
 Test %7B%0A%0A
+    @Rule%0A    public final Timeout timeoutRule = Timeout.seconds(360);%0A%0A
     priv

Add Timeout rule to ClientDeploymentTest