mirror of
https://github.com/astaxie/beego.git
synced 2025-06-14 18:40:40 +00:00
duration change to second
This commit is contained in:
2
cache/memcache/memcache_test.go
vendored
2
cache/memcache/memcache_test.go
vendored
@ -29,7 +29,7 @@ func TestMemcacheCache(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Error("init err")
|
||||
}
|
||||
timeoutDuration := 10 * time.Second
|
||||
timeoutDuration := 10
|
||||
if err = bm.Put("astaxie", "1", timeoutDuration*time.Second); err != nil {
|
||||
t.Error("set Error", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user