Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
automatic-test
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
钟涨钱
automatic-test
Commits
1ed2297a
Commit
1ed2297a
authored
Sep 22, 2021
by
朽木不可雕也
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backup
parent
ffb55f9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
bootstrap/src/main/java/com/zhiweidata/automatictest/bootstrap/AutomaticTestBootstrap.java
+7
-0
start.sh
+3
-2
No files found.
bootstrap/src/main/java/com/zhiweidata/automatictest/bootstrap/AutomaticTestBootstrap.java
View file @
1ed2297a
...
@@ -27,6 +27,13 @@ import static java.util.Objects.requireNonNull;
...
@@ -27,6 +27,13 @@ import static java.util.Objects.requireNonNull;
@SuppressWarnings
(
"JavaDoc"
)
@SuppressWarnings
(
"JavaDoc"
)
public
class
AutomaticTestBootstrap
{
public
class
AutomaticTestBootstrap
{
static
{
// 设置系统时区
System
.
setProperty
(
"user.timezone"
,
"Asia/Shanghai"
);
// 设置默认编码,mongodb会用到这个
System
.
setProperty
(
"file.encoding"
,
"UTF-8"
);
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
startModules
();
startModules
();
}
}
...
...
start.sh
View file @
1ed2297a
...
@@ -11,4 +11,5 @@ if mvn clean package -Dmaven.test.skip=true -P test; then
...
@@ -11,4 +11,5 @@ if mvn clean package -Dmaven.test.skip=true -P test; then
--link
barrage-crawler-server:barrage-crawler-server
\
--link
barrage-crawler-server:barrage-crawler-server
\
--link
mysqld:mysqld
\
--link
mysqld:mysqld
\
${
name
}
${
name
}
fi
fi
\ No newline at end of file
mvn clean
\ No newline at end of file
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