Skip to content
Snippets Groups Projects
Commit 0ee9688f authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

test clean-ups

parent 6dcbd92f
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
*/ */
package teetime.framework; package teetime.framework;
import org.junit.Ignore; import static org.junit.Assert.assertEquals;
import org.junit.Test; import org.junit.Test;
import teetime.stage.Counter; import teetime.stage.Counter;
...@@ -24,11 +25,10 @@ import teetime.stage.basic.Sink; ...@@ -24,11 +25,10 @@ import teetime.stage.basic.Sink;
public class AbstractCompositeStageTest { public class AbstractCompositeStageTest {
@Ignore
@Test @Test
public void testNestedStages() { public void testNestedStages() {
Execution<NestedConf> exec = new Execution<NestedConf>(new NestedConf()); Execution<NestedConf> exec = new Execution<NestedConf>(new NestedConf());
// assertThat(exec.getConfiguration().getContext().getThreadableStages().size(), is(3)); assertEquals(exec.getConfiguration().getContext().getThreadableStages().size(), 3);
} }
private class NestedConf extends Configuration { private class NestedConf extends Configuration {
......
...@@ -102,7 +102,7 @@ public class RunnableConsumerStageTest { ...@@ -102,7 +102,7 @@ public class RunnableConsumerStageTest {
// } // }
@Ignore @Ignore
@Test // @Test
public void testYieldRun() throws Exception { public void testYieldRun() throws Exception {
YieldStrategyConfiguration waitStrategyConfiguration = new YieldStrategyConfiguration(42); YieldStrategyConfiguration waitStrategyConfiguration = new YieldStrategyConfiguration(42);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment