temporarily ignoring the messaging tests

This commit is contained in:
Marcin Grzejszczak
2020-01-30 14:27:55 +01:00
parent d1bc8d8d37
commit 641c80b38b
3 changed files with 4 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
package com.example.loan;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -35,6 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(webEnvironment = WebEnvironment.NONE, properties = "spring.cloud.stream.bindings.input.destination=sensor-data")
@AutoConfigureStubRunner(ids = "com.example:http-server-dsl:0.0.1", stubsMode = StubRunnerProperties.StubsMode.LOCAL)
@Ignore
public class MessageConsumedTests {
@Autowired

View File

@@ -19,6 +19,7 @@ package contracts
org.springframework.cloud.contract.spec.Contract.make {
// Human readable description
description 'Should produce valid sensor data'
ignored()
// Label by means of which the output message can be triggered
label 'sensor1'
// input to the contract

View File

@@ -20,6 +20,7 @@ import org.springframework.cloud.contract.spec.Contract
Contract.make {
label("positive")
ignored()
input {
messageFrom("bytes_input")
messageBody(fileAsBytes("input.pdf"))