This commit is contained in:
Struchkov Mark 2022-07-02 19:13:27 +03:00
parent 14ba09b89f
commit 2baa5d6d21

View File

@ -40,7 +40,7 @@ public class GeneratePost {
final Post post = new Post(); final Post post = new Post();
post.setTitle("Пост " + i); post.setTitle("Пост " + i);
for (int j = 0; j < 1000; j++) { for (int j = 0; j < 10_000; j++) {
final PostComment postComment = new PostComment(); final PostComment postComment = new PostComment();
postComment.setReview("Комментарий " + j); postComment.setReview("Комментарий " + j);
post.addComment(postComment); post.addComment(postComment);