spec(backend/notes/create): ネットワーク不安定・高負荷時ノートが重複して投稿される問題を修正 (MisskeyIO#432)
This commit is contained in:
parent
f07a701418
commit
43ef9ca4e2
6 changed files with 51 additions and 6 deletions
|
|
@ -13,6 +13,7 @@ import {
|
|||
failedApiCall,
|
||||
post,
|
||||
role,
|
||||
sendEnvUpdateRequest,
|
||||
signup,
|
||||
successfulApiCall,
|
||||
testPaginationConsistency,
|
||||
|
|
@ -74,6 +75,8 @@ describe('アンテナ', () => {
|
|||
let userMutedByAlice: User;
|
||||
|
||||
beforeAll(async () => {
|
||||
await sendEnvUpdateRequest({ key: 'FORCE_IGNORE_IDEMPOTENCY_FOR_TESTING', value: 'true' });
|
||||
|
||||
root = await signup({ username: 'root' });
|
||||
alice = await signup({ username: 'alice' });
|
||||
alicePost = await post(alice, { text: 'test' });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue