From 9f1089b798f3b59323563b4a44edd064a36aa26e Mon Sep 17 00:00:00 2001 From: Franklin Hu Date: Wed, 1 Aug 2012 11:31:37 -0700 Subject: [PATCH] Uncomment spec assertion --- .../twitter/zipkin/storage/cassandra/CassandraIndexSpec.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zipkin-server/src/test/scala/com/twitter/zipkin/storage/cassandra/CassandraIndexSpec.scala b/zipkin-server/src/test/scala/com/twitter/zipkin/storage/cassandra/CassandraIndexSpec.scala index 7dd61a2e4fc..44932a17467 100644 --- a/zipkin-server/src/test/scala/com/twitter/zipkin/storage/cassandra/CassandraIndexSpec.scala +++ b/zipkin-server/src/test/scala/com/twitter/zipkin/storage/cassandra/CassandraIndexSpec.scala @@ -185,12 +185,11 @@ class CassandraIndexSpec extends Specification with JMocker with ClassMocker { } "getTraceIdsByAnnotation" in { - //cassandra.storeSpan(span1)() cassandraIndex.indexSpanByAnnotations(span1)() // fetch by time based annotation, find trace var seq = cassandraIndex.getTraceIdsByAnnotation("service", "custom", None, 0, 3)() - //seq mustEqual Seq(span1.traceId) + seq mustEqual Seq(span1.traceId) // should not find any traces since the core annotation doesn't exist in index seq = cassandraIndex.getTraceIdsByAnnotation("service", "cs", None, 0, 3)()