Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrins committed Nov 21, 2024
1 parent eba4c0e commit d2f9dc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions resources/suite-runner.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ export class RemoteSuiteRunner extends SuiteRunner {
// Update progress bar with each completed step.
this._startSubscription("step-complete", async (e) => this._updateClient(e.data.test, e.data.name));
// Ask workload to run its own tests.
console.log("Posting message");
this.frame.contentWindow.postMessage({ id: this.appId, key: "benchmark-connector", type: "benchmark-suite", name: this.suite.config?.name || "default" }, "*");
// Capture metrics from the completed tests.
const response = await this._subscribeOnce("suite-complete");
Expand All @@ -180,7 +179,6 @@ export class RemoteSuiteRunner extends SuiteRunner {
}

_handlePostMessage(e) {
console.log("Handling post message", e);
if (this.postMessageCallbacks.has(e.data.type))
this.postMessageCallbacks.get(e.data.type)(e);
}
Expand Down
2 changes: 1 addition & 1 deletion resources/workload-testing-utils.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Note: This will eventually come from a separate package and should be minified.
This is loaded by the remote test page and provides utilities & client-side communication with the test runner.
*/

import { TestRunner } from "./test-runner.mjs";
Expand Down

0 comments on commit d2f9dc1

Please sign in to comment.