Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
b64dfe0f
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1187
Star
22018
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
b64dfe0f
编写于
8月 16, 2021
作者:
H
Hui Li
提交者:
GitHub
8月 16, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7398 from taosdata/test/TD-6035-m
[TD-6035]add connector test in CI
上级
e882659e
3f62a65b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
24 addition
and
4 deletion
+24
-4
Jenkinsfile
Jenkinsfile
+20
-1
tests/gotest/case001/case001.sh
tests/gotest/case001/case001.sh
+3
-2
tests/test-all.sh
tests/test-all.sh
+1
-1
未找到文件。
Jenkinsfile
浏览文件 @
b64dfe0f
...
...
@@ -160,7 +160,6 @@ pipeline {
skipbuild
=
'2'
skipbuild
=
sh
(
script:
"git log -2 --pretty=%B | fgrep -ie '[skip ci]' -e '[ci skip]' && echo 1 || echo 2"
,
returnStdout:
true
)
println
skipbuild
}
sh
'''
rm -rf ${WORKSPACE}.tes
...
...
@@ -225,6 +224,26 @@ pipeline {
steps
{
timeout
(
time:
55
,
unit:
'MINUTES'
){
pre_test
()
sh
'''
rm -rf /var/lib/taos/*
rm -rf /var/log/taos/*
nohup taosd >/dev/null &
sleep 10
'''
sh
'''
cd ${WKC}/tests/examples/nodejs
npm install td2.0-connector > /dev/null 2>&1
node nodejsChecker.js host=localhost
'''
sh
'''
cd ${WKC}/tests/examples/C#/taosdemo
mcs -out:taosdemo *.cs > /dev/null 2>&1
echo '' |./taosdemo
'''
sh
'''
cd ${WKC}/tests/gotest
bash batchtest.sh
'''
sh
'''
cd ${WKC}/tests
./test-all.sh b1fq
...
...
tests/gotest/case001/case001.sh
浏览文件 @
b64dfe0f
...
...
@@ -15,7 +15,8 @@ script_dir="$(dirname $(readlink -f $0))"
###### step 3: start build
cd
$script_dir
rm
-f
go.
*
go mod init demotest
go build
go mod init demotest
>
/dev/null 2>&1
go mod tidy
>
/dev/null 2>&1
go build
>
/dev/null 2>&1
sleep
1s
./demotest
-h
$1
-p
$2
tests/test-all.sh
浏览文件 @
b64dfe0f
...
...
@@ -12,7 +12,7 @@ IN_TDINTERNAL="community"
function
stopTaosd
{
echo
"Stop taosd"
sudo
systemctl stop taosd
sudo
systemctl stop taosd
||
echo
'no sudo or systemctl or stop fail '
PID
=
`
ps
-ef
|grep
-w
taosd |
grep
-v
grep
|
awk
'{print $2}'
`
while
[
-n
"
$PID
"
]
do
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录