package com.ociweb.oe.foglight.api;

import com.ociweb.iot.maker.FogRuntime;
import org.junit.Test;

import static org.junit.Assert.assertTrue;

/**
 * Unit test for simple App.
 */
public class AppTest {
	@Test
	public void testApp() {
		boolean cleanExit = FogRuntime.testUntilShutdownRequested(new HTTPServer(8089), 100);
		assertTrue(cleanExit);
	}
}

package com.ociweb.oe.foglight.api;

import com.ociweb.iot.maker.FogRuntime;
import org.junit.Test;

import static org.junit.Assert.assertTrue;

/**
 * Unit test for simple App.
 */
public class AppTest {
	@Test
	public void testApp() {
		FogRuntime.testUntilShutdownRequested(new HTTPServer(8089), 100);
		
	}
}

remove bad boolean check