package com.ociweb.gl.example.parallel;

import org.junit.Test;

import com.ociweb.gl.api.GreenRuntime;
import com.ociweb.gl.test.ParallelClientLoadTester;

public class NamedMessagePassingTest {

	@Ignore
	public void runTest() {
		
		GreenRuntime.run(new NamedMessagePassingApp());
		
		String payload = "{\"key1\":\"value\",\"key2\":123}";
		
		GreenRuntime.testConcurrentUntilShutdownRequested(
				new ParallelClientLoadTester(2, 10_000, 8080, "/test", payload, false),
				200_000);

	}
	
}

@@ -34,16 +34,76 @@
 allel;%0A%0A
+import static org.junit.Assert.*;%0A%0Aimport org.junit.Ignore;%0A
 import o
@@ -250,16 +250,75 @@
 Test %7B%0A%0A
+%09@Test%0A%09public void emptyTest() %7B%0A%09%09assertTrue(true);%0A%09%7D%0A%09%0A
 %09@Ignore

add empty test