Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
core
tarantool
Commits
29a4ffc5
Commit
29a4ffc5
authored
10 years ago
by
bigbes
Browse files
Options
Downloads
Patches
Plain Diff
Fixing sequential running of multiple hot_standby tests
parent
c5aac099
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/lib/preprocessor.py
+4
-3
4 additions, 3 deletions
test/lib/preprocessor.py
test/replication/hot_standby.result
+1
-3
1 addition, 3 deletions
test/replication/hot_standby.result
test/replication/hot_standby.test.lua
+1
-1
1 addition, 1 deletion
test/replication/hot_standby.test.lua
with
6 additions
and
7 deletions
test/lib/preprocessor.py
+
4
−
3
View file @
29a4ffc5
...
...
@@ -24,7 +24,7 @@ class TestState(object):
self
.
delimiter
=
''
self
.
suite_ini
=
suite_ini
self
.
environ
=
Namespace
()
self
.
create_server
=
create_server
self
.
create_server
=
create_server
self
.
servers
=
{
'
default
'
:
default_server
}
self
.
connections
=
{
'
default
'
:
default_server
.
admin
}
# curcon is an array since we may have many connections
...
...
@@ -164,12 +164,13 @@ class TestState(object):
self
.
connections
.
pop
(
sname
)
self
.
servers
[
sname
].
stop
()
elif
ctype
==
'
deploy
'
:
pass
self
.
servers
[
sname
].
deploy
()
elif
ctype
==
'
cleanup
'
:
if
sname
not
in
self
.
servers
:
raise
LuaPreprocessorException
(
'
Can
\'
t cleanup nonexistent server
'
+
repr
(
sname
))
self
.
servers
[
sname
].
cleanup
()
delattr
(
self
.
environ
,
sname
)
if
sname
!=
'
default
'
:
delattr
(
self
.
environ
,
sname
)
else
:
raise
LuaPreprocessorException
(
'
Unknown command for server:
'
+
repr
(
ctype
))
...
...
This diff is collapsed.
Click to expand it.
test/replication/hot_standby.result
+
1
−
3
View file @
29a4ffc5
...
...
@@ -190,8 +190,6 @@ _select(11, 20)
--# stop server replica
--# cleanup server hot_standby
--# cleanup server replica
--# deploy server default
--# start server default
--# set connection default
box.space['tweedledum']:drop()
---
...
This diff is collapsed.
Click to expand it.
test/replication/hot_standby.test.lua
+
1
−
1
View file @
29a4ffc5
...
...
@@ -94,6 +94,6 @@ _select(11, 20)
--# stop server replica
--# cleanup server hot_standby
--# cleanup server replica
--# deploy server default
--# start server default
--# set connection default
box
.
space
[
'tweedledum'
]:
drop
()
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