mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Delete entity synchronously in test method setup
Observed in Gradle test when it seems that the mutating command is executed before deletion has taken effect. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=229585754
This commit is contained in:
parent
8cfb748316
commit
1e218d1d5b
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public class MutatingCommandTest {
|
|||
|
||||
@Test
|
||||
public void testSuccess_create() throws Exception {
|
||||
ofy().deleteWithoutBackup().entities(Arrays.asList(host1, host2, registrar1, registrar2));
|
||||
ofy().deleteWithoutBackup().entities(Arrays.asList(host1, host2, registrar1, registrar2)).now();
|
||||
MutatingCommand command = new MutatingCommand() {
|
||||
@Override
|
||||
protected void init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue