GITLAB

zhangqijia / Pro2DServer

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Pro2DServer
  • src
  • components
  • timewheel
  • timewheel_test.go
  • 6f0d72bd   定时器功能完善优化 Browse Code »
    zhangqijia
    2022-03-14 10:16:37 +0800  
timewheel_test.go 225 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package timewheel

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

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

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