Github user pnowojski commented on a diff in the pull request: https://github.com/apache/flink/pull/4146#discussion_r124730014 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/blob/BlobServerPutTest.java --- @@ -59,6 +60,110 @@ private final Random rnd = new Random(); + + // --- concurrency tests for utility methods which could fail during the put operation --- + + /** + * Checked thread that calls {@link BlobServer#getStorageLocation(BlobKey)} + */ + public static class ContentAddressableGetStorageLocation extends CheckedThread { + private final BlobServer server; + private final BlobKey key; + + public ContentAddressableGetStorageLocation(BlobServer server, BlobKey key) { + this.server = server; + this.key = key; + } + + @Override + public void go() throws Exception { + server.getStorageLocation(key); --- End diff -- So maybe you could call in a loop multiple times `gets` and `deletes` (if there is such operation) interleaved? Otherwise I don't see a real value of those tests and I would prefer to drop them (so that we don't have to maintain tests that do not check for anything).
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---