Skip to content

Commit

Permalink
Update cache test
Browse files Browse the repository at this point in the history
  • Loading branch information
xaxys committed Apr 11, 2022
1 parent 05dfbfd commit e60dbeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ func TestMultiHitAnnounceRouter(t *testing.T) {
t.Log("create 1000 announces")

uids := []uint{}
users := generateRandomUsers("AnnounceHitTest", 1000)
users := generateRandomUsers("AnnounceHitTest", 25)
for i, user := range users {
u, err := dao.CreateUser(&model.CreateUserRequest{RegisterUserRequest: user}, 0)
if err != nil {
Expand All @@ -1751,7 +1751,7 @@ func TestMultiHitAnnounceRouter(t *testing.T) {
t.Log("create user: ", i)
}
}
t.Log("create 1000 users")
t.Log("create 25 users")

for i, uid := range uids {
token, err := util.GetJwtString(uid, "", "user")
Expand Down

0 comments on commit e60dbeb

Please sign in to comment.