fix test_restart_master_long
Merge pull request #424 from Incubaid/test-restart-master

fix test_restart_master_long