REMOVING FLAKEY TESTS TILL THEYRE STABILISED

This commit is contained in:
Katelyn Baker 2018-01-05 15:05:10 +00:00
parent 694721e8ba
commit ab76ef4deb
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,7 @@ import net.corda.testing.internal.withoutTestSerialization
import net.corda.testing.services.MockAttachmentStorage
import net.corda.testing.internal.rigorousMock
import org.junit.Assert.assertEquals
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import java.net.URLClassLoader
@ -99,6 +100,7 @@ class AttachmentLoadingTests {
assertEquals(expected, actual)
}
@Ignore("Test has undeterministic capacity to hang, ignore till fixed")
@Test
fun `test that attachments retrieved over the network are not used for code`() = withoutTestSerialization {
driver {
@ -111,6 +113,7 @@ class AttachmentLoadingTests {
Unit
}
@Ignore("Test has undeterministic capacity to hang, ignore till fixed")
@Test
fun `tests that if the attachment is loaded on both sides already that a flow can run`() = withoutTestSerialization {
driver {

View File

@ -20,6 +20,7 @@ import net.corda.testing.driver.driver
import net.corda.testing.node.ClusterSpec
import net.corda.testing.node.NotarySpec
import org.assertj.core.api.Assertions.assertThat
import org.junit.Ignore
import org.junit.Test
import rx.Observable
import java.util.*
@ -73,6 +74,7 @@ class DistributedServiceTests {
// TODO Use a dummy distributed service rather than a Raft Notary Service as this test is only about Artemis' ability
// to handle distributed services
@Ignore("Test has undeterministic capacity to hang, ignore till fixed")
@Test
fun `requests are distributed evenly amongst the nodes`() = setup {
// Issue 100 pounds, then pay ourselves 50x2 pounds
@ -101,6 +103,7 @@ class DistributedServiceTests {
}
// TODO This should be in RaftNotaryServiceTests
@Ignore("Test has undeterministic capacity to hang, ignore till fixed")
@Test
fun `cluster survives if a notary is killed`() = setup {
// Issue 100 pounds, then pay ourselves 10x5 pounds