Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonHxy committed Nov 16, 2022
1 parent 975f159 commit bad27a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void testBrokerNotOverloaded() {
LocalBrokerData broker1 = new LocalBrokerData();
broker1.setBandwidthIn(new ResourceUsage(500, 1000));
broker1.setBandwidthOut(new ResourceUsage(500, 1000));
broker1.getBundles().clear();
broker1.getBundles().add("bundle-1");

BundleData bundle1 = new BundleData();
Expand All @@ -89,6 +90,7 @@ public void testBrokerWithSingleBundle() {
LocalBrokerData broker1 = new LocalBrokerData();
broker1.setBandwidthIn(new ResourceUsage(999, 1000));
broker1.setBandwidthOut(new ResourceUsage(999, 1000));
broker1.getBundles().clear();
broker1.getBundles().add("bundle-1");

BundleData bundle1 = new BundleData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public void testBrokerNotReachThreshold() {
broker1.setDirectMemory(new ResourceUsage(5000, 100));
broker1.setBandwidthIn(new ResourceUsage(500, 1000));
broker1.setBandwidthOut(new ResourceUsage(500, 1000));
broker1.getBundles().clear();
broker1.getBundles().add("bundle-1");

BundleData bundleData = new BundleData();
Expand All @@ -98,6 +99,7 @@ public void testBrokerWithSingleBundle() {
LocalBrokerData broker1 = new LocalBrokerData();
broker1.setBandwidthIn(new ResourceUsage(999, 1000));
broker1.setBandwidthOut(new ResourceUsage(999, 1000));
broker1.getBundles().clear();
broker1.getBundles().add("bundle-1");

BundleData bundle1 = new BundleData();
Expand Down

0 comments on commit bad27a2

Please sign in to comment.