good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
69dfca2f
Commit
69dfca2f
authored
10 years ago
by
Viktor Trón
Browse files
Options
Downloads
Patches
Plain Diff
minor changes in integration tests
parent
3bdf28c1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
eth/test/tests/02.sh
+3
-3
3 additions, 3 deletions
eth/test/tests/02.sh
eth/test/tests/03.sh
+2
-2
2 additions, 2 deletions
eth/test/tests/03.sh
eth/test/tests/common.sh
+3
-3
3 additions, 3 deletions
eth/test/tests/common.sh
with
8 additions
and
8 deletions
eth/test/tests/02.sh
+
3
−
3
View file @
69dfca2f
...
...
@@ -12,8 +12,8 @@ EOF
peer 11 01
peer 12 02
P1
3
ID
=
$PID
P1
2
ID
=
$PID
test_node
$NAME
""
-loglevel
5
$JSFILE
sleep
0.
5
kill
$P1
3
ID
sleep
0.
3
kill
$P1
2
ID
This diff is collapsed.
Click to expand it.
eth/test/tests/03.sh
+
2
−
2
View file @
69dfca2f
#!/bin/bash
TIMEOUT
=
35
TIMEOUT
=
12
cat
>>
$JSFILE
<<
EOF
eth.addPeer("localhost:30311");
sleep(
3
0000);
sleep(
1
0000);
eth.export("
$CHAIN_TEST
");
EOF
...
...
This diff is collapsed.
Click to expand it.
eth/test/tests/common.sh
+
3
−
3
View file @
69dfca2f
...
...
@@ -3,14 +3,14 @@
# launched by run.sh
function
test_node
{
rm
-rf
$DIR
/
$1
ARGS
=
"-datadir
$DIR
/
$1
-debug debug -seed=false -shh=false -id test
$1
"
ARGS
=
"-datadir
$DIR
/
$1
-debug debug -seed=false -shh=false -id test
$1
-port 303
$1
"
if
[
""
!=
"
$2
"
]
;
then
chain
=
"chains/
$2
.chain"
echo
"import chain
$chain
"
$ETH
$ARGS
-loglevel
3
-chain
$chain
|
grep
CLI |grep import
fi
echo
"starting test node
$1
with
extra args
${
@
:3
}
"
$ETH
$ARGS
-port
303
$1
${
@
:3
}
&
echo
"starting test node
$1
with
args
$ARGS
${
@
:3
}
"
$ETH
$ARGS
${
@
:3
}
&
PID
=
$!
PIDS
=
"
$PIDS
$PID
"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment