box: make sure box.ctl is available before box.cfg{}
Ensure box.ctl.wait_ro() and box.ctl.wait_rw() produce meaningful results even when invoked before box.cfg{}: wait for box.cfg{} to complete and the server to enter the right state. Add a test case. In scope of gh-3159
Showing
- src/box/box.cc 4 additions, 1 deletionsrc/box/box.cc
- src/box/lua/load_cfg.lua 2 additions, 1 deletionsrc/box/lua/load_cfg.lua
- test/app-tap/cfg.test.lua 31 additions, 0 deletionstest/app-tap/cfg.test.lua
- test/box/cfg.result 1 addition, 1 deletiontest/box/cfg.result
- test/box/cfg.test.lua 1 addition, 1 deletiontest/box/cfg.test.lua
Loading
Please register or sign in to comment