update github actions go version

This commit is contained in:
finley
2025-05-25 21:21:58 +08:00
parent d6bbf0315c
commit e5b8f2c6a2
4 changed files with 6 additions and 5 deletions

View File

@@ -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)