Skip to content

Commit

Permalink
Uncomment spec assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Franklin Hu committed Aug 1, 2012
1 parent aa67fff commit 9f1089b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)()
Expand Down

0 comments on commit 9f1089b

Please sign in to comment.