Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
c5120beb
Commit
c5120beb
authored
Feb 27, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试修正脚本延迟执行BUG
parent
35caefab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
RunRecordingScanHelper.java
...src/main/java/com/byit/thread/RunRecordingScanHelper.java
+0
-1
test-ex.py
...core/myth-executor-core/src/test/java/com/test/test-ex.py
+4
-0
ScriptAddFlow.java
...demo-client/src/main/java/com/byit/job/ScriptAddFlow.java
+1
-1
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/thread/RunRecordingScanHelper.java
View file @
c5120beb
...
@@ -258,7 +258,6 @@ public class RunRecordingScanHelper {
...
@@ -258,7 +258,6 @@ public class RunRecordingScanHelper {
if
(
CollectionUtil
.
isNotEmpty
(
jobTaskRunLogs
))
{
if
(
CollectionUtil
.
isNotEmpty
(
jobTaskRunLogs
))
{
jobTaskRunLogs
.
forEach
(
jobTaskRunLog
->
{
jobTaskRunLogs
.
forEach
(
jobTaskRunLog
->
{
long
timeConsuming
=
jobTaskRunLog
.
getEndTime
().
getTime
()
-
jobTaskRunLog
.
getStartTime
().
getTime
();
long
timeConsuming
=
jobTaskRunLog
.
getEndTime
().
getTime
()
-
jobTaskRunLog
.
getStartTime
().
getTime
();
log
.
info
(
"######################{}#####################3"
,
timeConsuming
);
/*
/*
* String iframeHtml = "<iframe src='%s'></iframe>";
* String iframeHtml = "<iframe src='%s'></iframe>";
* String logFilePath = FILE_SYSTEM_PRE+fileSystemIp+":"+fileSystemPort+"/"+jobTaskRunLog.getLogRemotelyPath();
* String logFilePath = FILE_SYSTEM_PRE+fileSystemIp+":"+fileSystemPort+"/"+jobTaskRunLog.getLogRemotelyPath();
...
...
byit-myth-core/myth-executor-core/src/test/java/com/test/test-ex.py
View file @
c5120beb
import
time
i
=
0
i
=
0
while
i
<
100
:
while
i
<
100
:
time
.
sleep
(
1
)
print
(
"--------
%
d"
%
i
)
print
(
"--------
%
d"
%
i
)
i
+=
1
i
+=
1
\ No newline at end of file
demo-client/byit-demo-client/src/main/java/com/byit/job/ScriptAddFlow.java
View file @
c5120beb
...
@@ -70,7 +70,7 @@ public class ScriptAddFlow {
...
@@ -70,7 +70,7 @@ public class ScriptAddFlow {
pluginNode2
.
setType
(
"node"
);
pluginNode2
.
setType
(
"node"
);
pluginNode2
.
setAuthor
(
"皇甫"
);
pluginNode2
.
setAuthor
(
"皇甫"
);
pluginNode2
.
setJobType
(
"SCRIPT"
);
pluginNode2
.
setJobType
(
"SCRIPT"
);
pluginNode2
.
setScriptUrls
(
"ddmp/M00/00/00/CgB4Al5
T7xuACemOAAAAOeUjOqs3779
.py"
);
pluginNode2
.
setScriptUrls
(
"ddmp/M00/00/00/CgB4Al5
XoBSAZg1qAAAAW4eTPeg3226
.py"
);
pluginNode2
.
setRunCommand
(
"python"
);
pluginNode2
.
setRunCommand
(
"python"
);
pluginNode2
.
setRunParam
(
"test1"
);
pluginNode2
.
setRunParam
(
"test1"
);
pluginNodeConfig2
.
setFailedRetryCount
(
2
);
pluginNodeConfig2
.
setFailedRetryCount
(
2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment