mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-22 09:37:09 +00:00
Two test
This commit is contained in:
parent
f21d357cd8
commit
eae9a3069e
1 changed files with 7 additions and 7 deletions
14
main_test.go
14
main_test.go
|
|
@ -117,14 +117,14 @@ func initClient(t *testing.T, host string) {
|
|||
// If receive roomID, the server is running correctly
|
||||
}
|
||||
|
||||
//func TestSingleServerNoOverlord(t *testing.T) {
|
||||
//// Init slave server
|
||||
//oclient = nil
|
||||
//s := initServer(t, "")
|
||||
//defer s.Close()
|
||||
func TestSingleServerNoOverlord(t *testing.T) {
|
||||
// Init slave server
|
||||
oclient = nil
|
||||
s := initServer(t, "")
|
||||
defer s.Close()
|
||||
|
||||
//initClient(t, s.URL)
|
||||
//}
|
||||
initClient(t, s.URL)
|
||||
}
|
||||
|
||||
func TestSingleServerOneOverlord(t *testing.T) {
|
||||
o := initOverlord()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue