Fix CI issue.

This commit is contained in:
wusheng 2017-03-21 19:16:16 +08:00
parent 2940f762b9
commit 572cfc5875
1 changed files with 7 additions and 0 deletions

View File

@ -1,16 +1,23 @@
package com.a.eye.skywalking.api.context;
import com.a.eye.skywalking.api.boot.ServiceManager;
import com.a.eye.skywalking.trace.Span;
import com.a.eye.skywalking.trace.TraceSegment;
import com.a.eye.skywalking.trace.tag.Tags;
import org.junit.After;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
/**
* Created by wusheng on 2017/2/19.
*/
public class ContextManagerTestCase {
@BeforeClass
public static void setup(){
ServiceManager.INSTANCE.boot();
}
@Test
public void testDelegateToTracerContext(){
Span span = ContextManager.createSpan("serviceA");