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
e67a9034
Commit
e67a9034
authored
9 years ago
by
Sulverus
Browse files
Options
Downloads
Patches
Plain Diff
snapshot_stress.test fix with workdir
finalizers.test marked as long run in suite
parent
43f09865
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/long_run/suite.ini
+1
-1
1 addition, 1 deletion
test/long_run/suite.ini
test/wal_off/snapshot_stress.result
+1
-24
1 addition, 24 deletions
test/wal_off/snapshot_stress.result
test/wal_off/snapshot_stress.test.lua
+1
-8
1 addition, 8 deletions
test/wal_off/snapshot_stress.test.lua
with
3 additions
and
33 deletions
test/long_run/suite.ini
+
1
−
1
View file @
e67a9034
...
...
@@ -2,7 +2,7 @@
core
=
tarantool
description
=
long running tests
script
=
box.lua
long_run
=
memtx_delete_replace_update.test.lua sophia_delete_replace_update.test.lua memtx_delete_insert.test.lua sophia_delete_insert.test.lua
long_run
=
memtx_delete_replace_update.test.lua sophia_delete_replace_update.test.lua memtx_delete_insert.test.lua sophia_delete_insert.test.lua
finalizers.test.py
valgrind_disabled
=
release_disabled
=
lua_libs
=
suite.lua
...
...
This diff is collapsed.
Click to expand it.
test/wal_off/snapshot_stress.result
+
1
−
24
View file @
e67a9034
...
...
@@ -39,29 +39,6 @@ tarantool_bin_path = arg[-1]
work_dir = fio.cwd()
---
...
snap_dir_as_expected = false
---
...
snap_dir_as_expected = snap_dir_as_expected or box.cfg.snap_dir == nil
---
...
snap_dir_as_expected = snap_dir_as_expected or box.cfg.snap_dir == ''
---
...
snap_dir_as_expected = snap_dir_as_expected or box.cfg.snap_dir == '.'
---
...
snap_dir_as_expected = snap_dir_as_expected or box.cfg.snap_dir == work_dir
---
...
snap_dir_as_expected
---
- true
...
box.cfg.snap_dir
---
- .
...
script_path = fio.pathjoin(work_dir, 'snap_script.lua')
---
...
...
...
@@ -291,7 +268,7 @@ s2:drop();
---
...
script_code = [[
box.cfg{ slab_alloc_arena = 0.5, snap_dir = "
.
", wal_mode = "none" }
box.cfg{ slab_alloc_arena = 0.5, snap_dir = "
]] .. box.cfg.snap_dir .. [[
", wal_mode = "none" }
s1 = box.space.accounts
s2 = box.space.operations
...
...
This diff is collapsed.
Click to expand it.
test/wal_off/snapshot_stress.test.lua
+
1
−
8
View file @
e67a9034
...
...
@@ -21,13 +21,6 @@ fio = require('fio')
tarantool_bin_path
=
arg
[
-
1
]
work_dir
=
fio
.
cwd
()
snap_dir_as_expected
=
false
snap_dir_as_expected
=
snap_dir_as_expected
or
box
.
cfg
.
snap_dir
==
nil
snap_dir_as_expected
=
snap_dir_as_expected
or
box
.
cfg
.
snap_dir
==
''
snap_dir_as_expected
=
snap_dir_as_expected
or
box
.
cfg
.
snap_dir
==
'.'
snap_dir_as_expected
=
snap_dir_as_expected
or
box
.
cfg
.
snap_dir
==
work_dir
snap_dir_as_expected
box
.
cfg
.
snap_dir
script_path
=
fio
.
pathjoin
(
work_dir
,
'snap_script.lua'
)
cmd_template
=
[[/bin/sh -c 'cd "%s" && "%s" ./snap_script.lua 2> /dev/null']]
cmd
=
string.format
(
cmd_template
,
work_dir
,
tarantool_bin_path
)
...
...
@@ -167,7 +160,7 @@ s1:drop();
s2
:
drop
();
script_code
=
[[
box.cfg{ slab_alloc_arena = 0.5, snap_dir = "
.
", wal_mode = "none" }
box.cfg{ slab_alloc_arena = 0.5, snap_dir = "
]]
..
box
.
cfg
.
snap_dir
..
[[
", wal_mode = "none" }
s1 = box.space.accounts
s2 = box.space.operations
...
...
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