Added missing aop dependency

fixes #534
This commit is contained in:
Marcin Grzejszczak
2017-02-27 16:05:25 +01:00
parent 0f29735c11
commit 8d5b60996e
2 changed files with 10 additions and 4 deletions

View File

@@ -28,6 +28,10 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-commons</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
@@ -59,8 +63,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<groupId>com.jayway.awaitility</groupId>
<artifactId>awaitility</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

View File

@@ -57,6 +57,8 @@ import org.springframework.integration.annotation.ServiceActivator;
import org.springframework.messaging.Message;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.jayway.awaitility.Awaitility;
/**
* @author Dave Syer
*
@@ -89,7 +91,7 @@ public class StreamSpanListenerTests {
this.tracer.close(context);
assertThat(this.test.spans).hasSize(1);
Awaitility.await().until(() -> assertThat(StreamSpanListenerTests.this.test.spans).hasSize(1));
}
@Test
@@ -103,7 +105,7 @@ public class StreamSpanListenerTests {
this.tracer.close(context);
assertThat(this.test.spans).hasSize(2);
Awaitility.await().until(() -> assertThat(StreamSpanListenerTests.this.test.spans).hasSize(2));
}
void logServerReceived(Span parent) {