GITLAB

zhangqijia / Pro2DServer

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Pro2DServer
  • common
  • components
  • timewheel_test.go
  • 0e5d52de   reactor: 重构底层框架1.0 Browse Code »
    zhangqijia
    2022-03-17 14:05:54 +0800  
timewheel_test.go 226 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package components

import (
	"fmt"
	"testing"
	"time"
)

func PRINT()  {
	fmt.Println("12312312312")
}

func TestTimeWheel_Start(t *testing.T) {
	TimeOut(1 * time.Second, func() {
		fmt.Println("12312313123")
	})
	select{}
}