This commit is contained in:
Simon Zolin 2019-11-11 16:13:03 +03:00
parent 2f1e631c66
commit 2a6e9f3c11
1 changed files with 0 additions and 2 deletions

View File

@ -6,7 +6,6 @@ import (
"os" "os"
"sync/atomic" "sync/atomic"
"testing" "testing"
"time"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
@ -105,7 +104,6 @@ func TestLargeNumbers(t *testing.T) {
for h := 0; h != 12; h++ { for h := 0; h != 12; h++ {
if h != 0 { if h != 0 {
atomic.AddInt32(&hour, 1) atomic.AddInt32(&hour, 1)
time.Sleep(1500 * time.Millisecond)
} }
for i := 0; i != n; i++ { for i := 0; i != n; i++ {
e.Domain = fmt.Sprintf("domain%d", i) e.Domain = fmt.Sprintf("domain%d", i)