mirror of
https://github.com/googleforgames/open-match.git
synced 2025-03-25 13:24:18 +00:00
Merge branch '040wip' of https://github.com/GoogleCloudPlatform/open-match into 040wip
This commit is contained in:
@ -6,12 +6,14 @@ import (
|
||||
"github.com/rafaeljusto/redigomock"
|
||||
)
|
||||
|
||||
func TestCreate(*testing.T) {
|
||||
pids := "test1 test2 test3"
|
||||
func TestCreate(t *testing.T) {
|
||||
pids := []string{"test1", "test2", " test3"}
|
||||
ilid := "testil"
|
||||
redisConn := redigomock.NewConn()
|
||||
|
||||
redisConn.GenericCommand("ZADD").Expect("ok")
|
||||
err := Create(redisConn, ilid, pids)
|
||||
if err != nil {
|
||||
panic(err.Error())
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
@ -194,7 +194,7 @@ func waitForResults(resultsChan chan frontend.Player, stream frontend.Frontend_G
|
||||
break
|
||||
}
|
||||
log.Println("Error encountered")
|
||||
log.Println("Error reading stream for GetAssignments(_) = _, %v", err)
|
||||
log.Printf("Error reading stream for GetAssignments(_) = _, %v", err)
|
||||
break
|
||||
}
|
||||
log.Println("Result recieved from Open Match!")
|
||||
|
Reference in New Issue
Block a user