You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/02/22 12:54:23 UTC
[skywalking-nginx-lua] branch master updated: Try JSON in CI.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git
The following commit(s) were added to refs/heads/master by this push:
new 577152e Try JSON in CI.
577152e is described below
commit 577152ee7004edad826bda8d60498fd618030275
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sat Feb 22 20:54:10 2020 +0800
Try JSON in CI.
---
lib/skywalking/tracing_context_test.lua | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/skywalking/tracing_context_test.lua b/lib/skywalking/tracing_context_test.lua
index d0c0dd1..2308e94 100644
--- a/lib/skywalking/tracing_context_test.lua
+++ b/lib/skywalking/tracing_context_test.lua
@@ -71,6 +71,8 @@ TestTracingContext = {}
lu.assertEquals(span1, segment.spans[2])
local segmentBuilder = segment:transform()
+ local JSON = require('cjson').encode(segmentBuilder)
+ lu.assertTrue(#JSON > 0)
end
function TestTracingContext:testNewNoOP()