File tree Expand file tree Collapse file tree
sdk/storage/azure-storage-perf/src/main/java/com/azure/storage/blob/perf/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44package com .azure .storage .blob .perf .core ;
55
66import com .azure .storage .blob .perf .BlobPerfStressOptions ;
7- import reactor .core .publisher .Mono ;
87
98import java .util .UUID ;
109
11- import static com .azure .perf .test .core .TestDataCreationHelper .createRandomByteBufferFlux ;
12-
1310public abstract class AbstractUploadTest <TOptions extends BlobPerfStressOptions > extends BlobTestBase <TOptions > {
1411
12+ /**
13+ * This ctor makes sure that each upload tests targets different blob.
14+ * @param options options
15+ */
1516 public AbstractUploadTest (TOptions options ) {
1617 super (options , BLOB_NAME_PREFIX + UUID .randomUUID ());
1718 }
18-
19- @ Override
20- public Mono <Void > setupAsync () {
21- // Upload one blob per test
22- return super .setupAsync ()
23- .then (blobAsyncClient .upload (createRandomByteBufferFlux (options .getSize ()), null ))
24- .then ();
25- }
2619}
You can’t perform that action at this time.
0 commit comments