mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-06 01:07:06 +08:00
update github actions go version
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"bufio"
|
||||
"net"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hdt3213/godis/database"
|
||||
)
|
||||
@@ -19,7 +20,7 @@ func TestListenAndServe(t *testing.T) {
|
||||
db := database.NewStandaloneServer()
|
||||
server := NewGnetServer(db)
|
||||
go server.Run(addr)
|
||||
|
||||
time.Sleep(2*time.Second)
|
||||
conn, err := net.Dial("tcp", addr)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
Reference in New Issue
Block a user