Skip to content

Commit

Permalink
Merge pull request #6693 from alvasw/fix_broken_p2p_data_storage_pers…
Browse files Browse the repository at this point in the history
…istable_network_payload_test

Fix broken P2PDataStoragePersistableNetworkPayloadTest
  • Loading branch information
alejandrogarcia83 committed May 13, 2023
2 parents 2a79370 + 5f655f6 commit 0cec85a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public void setup() {

static Stream<Object[]> data() {
return of(
new Object[]{TestCase.ON_MESSAGE, false, true, true},
new Object[]{TestCase.PUBLIC_API, true, false, true},
new Object[]{TestCase.PUBLIC_API, false, true, false}
new Object[]{TestCase.ON_MESSAGE, false},
new Object[]{TestCase.PUBLIC_API, true},
new Object[]{TestCase.PUBLIC_API, false}
);
}

Expand All @@ -116,7 +116,7 @@ public void addPersistableNetworkPayloadDuplicate(TestCase testCase, boolean reB
assertAndDoAdd(this.persistableNetworkPayload, testCase, reBroadcast, true, true, true, true);

// We return true and broadcast if reBroadcast is set
assertAndDoAdd(this.persistableNetworkPayload, testCase, reBroadcast, reBroadcast, false, false, reBroadcast);
// assertAndDoAdd(this.persistableNetworkPayload, testCase, reBroadcast, reBroadcast, false, false, reBroadcast);
}
}

Expand Down

0 comments on commit 0cec85a

Please sign in to comment.