Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mobject-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
mobject-store
Commits
1457bd14
Commit
1457bd14
authored
Nov 01, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add client code for mobject-connect-test script
parent
e235dcb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
tests/mobject-connect-test.sh
tests/mobject-connect-test.sh
+17
-2
No files found.
tests/mobject-connect-test.sh
View file @
1457bd14
...
@@ -11,12 +11,27 @@ fi
...
@@ -11,12 +11,27 @@ fi
source
$srcdir
/tests/mobject-test-util.sh
source
$srcdir
/tests/mobject-test-util.sh
TEST_DIR
=
`
$MKTEMP
-d
/tmp/mobject-connect-test-XXXXXX
`
TEST_DIR
=
`
$MKTEMP
-d
/tmp/mobject-connect-test-XXXXXX
`
CLUSTER_GID_FILE
=
$TEST_DIR
/cluster.gid
MOBJECT_CLUSTER_FILE
=
$TEST_DIR
/cluster.gid
##############
# start 1 server with 2 second wait, 20s timeout
# start 1 server with 2 second wait, 20s timeout
mobject_test_start_servers 1 2 20
$CLUSTER_GID_FILE
mobject_test_start_servers 1 2 20
$MOBJECT_CLUSTER_FILE
##############
# run 1 connect test client
export
MOBJECT_CLUSTER_FILE
run_to 10 tests/mobject-connect-test
if
[
$?
-ne
0
]
;
then
wait
exit
1
fi
##############
wait
wait
# cleanup
# cleanup
rm
-rf
$TEST_DIR
rm
-rf
$TEST_DIR
exit
0
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