speed up the test initialization

pull/290/head
John Shahid 2014-02-27 11:53:15 -05:00
parent 4cf4ad3a08
commit 4698a4fb8c
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ func (self *ServerProcess) Stop() {
func (self *ServerSuite) precreateShards(server *ServerProcess, c *C) {
time.Sleep(time.Second)
self.createShards(server, int64(3600), "false", c)
self.createShards(server, int64(86400), "true", c)
go self.createShards(server, int64(3600), "false", c)
go self.createShards(server, int64(86400), "true", c)
time.Sleep(time.Second)
}