Skip to content

Commit 45bea0c

Browse files
restored removed code
1 parent ccbdde5 commit 45bea0c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/test/java/com/uid2/operator/benchmark/BenchmarkCommon.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import com.uid2.operator.store.IOptOutStore;
1212
import com.uid2.operator.vertx.OperatorShutdownHandler;
1313
import com.uid2.shared.Utils;
14+
import com.uid2.shared.audit.UidInstanceIdProvider;
1415
import com.uid2.shared.auth.ClientKey;
1516
import com.uid2.shared.auth.Role;
1617
import com.uid2.shared.cloud.CloudStorageException;
@@ -81,7 +82,7 @@ static IUIDOperatorService createUidOperatorService() throws Exception {
8182
IdentityScope.UID2,
8283
shutdownHandler::handleSaltRetrievalResponse,
8384
false,
84-
null
85+
new UidInstanceIdProvider("test-instance", "id")
8586
);
8687
}
8788

@@ -193,13 +194,13 @@ public Instant getLatestEntry(UserIdentity firstLevelHashIdentity) {
193194
}
194195

195196
@Override
196-
public long getOptOutTimestampByAdId(String adId) {
197-
return -1;
197+
public void addEntry(UserIdentity firstLevelHashIdentity, byte[] advertisingId, String uidTraceId, String uidInstanceId, Handler<AsyncResult<Instant>> handler) {
198+
// noop
198199
}
199200

200201
@Override
201-
public void addEntry(UserIdentity firstLevelHashIdentity, byte[] advertisingId, String uidTraceId, String uidInstanceId, Handler<AsyncResult<Instant>> handler) {
202-
202+
public long getOptOutTimestampByAdId(String adId) {
203+
return -1;
203204
}
204205
}
205206

0 commit comments

Comments
 (0)