1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
# Bug #876541:
# Test floating point values (wal_fsync_delay) with fractional part
# (https://bugs.launchpad.net/bugs/876541)
box.cfg.wal_fsync_delay
---
- 0.01
...
print_config()
---
- io_collect_interval: 0
pid_file: box.pid
slab_alloc_factor: 2
slab_alloc_minimal: 64
admin_port: <number>
logger: cat - >> tarantool.log
readahead: 16320
wal_dir: .
logger_nonblock: true
log_level: 5
snap_dir: .
coredump: false
background: false
too_long_threshold: 0.5
rows_per_wal: 50
wal_mode: fsync_delay
snap_io_rate_limit: 0
panic_on_snap_error: true
panic_on_wal_error: false
local_hot_standby: false
slab_alloc_arena: 0.1
bind_ipaddr: INADDR_ANY
wal_fsync_delay: 0
primary_port: <number>
wal_dir_rescan_delay: 0.1
...
# Test bug #977898
box.space.tweedledum:insert{4, 8, 16}
---
- [4, 8, 16]
...
# Test insert from init.lua
box.space.tweedledum:get(1)
---
- [1, 2, 4, 8]
...
box.space.tweedledum:get(2)
---
- [2, 4, 8, 16]
...
box.space.tweedledum:get(4)
---
- [4, 8, 16]
...
# Test bug #1002272
floor(0.5)
---
- 0
...
floor(0.9)
---
- 0
...
floor(1.1)
---
- 1
...
mod.test(10, 15)
---
- 25
...
# Bug#99 Salloc initialization is not checked on startup
# (https://github.com/tarantool/tarantool/issues/99)
Can't start Tarantool
ok
# Bug#100 Segmentation fault if rows_per_wal = 0
# (https://github.com/tarantool/tarantool/issues/100)
Can't start Tarantool
ok
#
# Check that --background doesn't work if there is no logger
# This is a test case for
# https://bugs.launchpad.net/tarantool/+bug/750658
# "--background neither closes nor redirects stdin/stdout/stderr"
Can't start Tarantool
ok
# A test case for Bug#726778 "Gopt broke wal_dir and snap_dir: they are no
# longer relative to work_dir".
# https://bugs.launchpad.net/tarantool/+bug/726778
# After addition of gopt(), we started to chdir() to the working
# directory after option parsing.
# Verify that this is not the case, and snap_dir and xlog_dir
# can be relative to work_dir.
|