Added missing aop dependency

fixes #534
This commit is contained in:
Marcin Grzejszczak
2017-02-27 16:05:25 +01:00
parent 8c17451e60
commit cdba72b44c
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

@@ -56,6 +56,8 @@ import org.springframework.messaging.Message;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;
import com.jayway.awaitility.Awaitility;
/**
* @author Dave Syer
*
@@ -88,7 +90,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
@@ -102,7 +104,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) {