132133134135136137138139140141142
Thread.sleep(100); trace.close(); // pass the trace on receiver.receiveSpan(span); // wait for the tracer to actually do the write latch.await(); // look for the writes to make sure they were made