Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update xmlhttprequest timeout and percentage complete#104

Merged
rotosonic merged 10 commits intoComcast:masterfrom
rotosonic:EricTest
Aug 16, 2017
Merged

Update xmlhttprequest timeout and percentage complete#104
rotosonic merged 10 commits intoComcast:masterfrom
rotosonic:EricTest

Conversation

@rotosonic
Copy link
Collaborator

Why: Edge 15 is periodically throwing error at the end of testing due to timing issue and need to report percentage complete to client
How: Update timing logic to remove error and return percentage complete
Test: check locally and run in edge 15 and verify test completes with no error

@CLAassistant
Copy link

CLAassistant commented Aug 15, 2017

CLA assistant check
All committers have signed the CLA.

@Pradhyumna02
Copy link
Collaborator

forgot to make changes in downloadApp.js and uploadApp.js

}
console.dir(result);
if (this._running) {
if ((Date.now() - this._beginTime) > this.testLength) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might need a 'else' case here to send the error back if it is during the 12 sec

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abort all requests and show opps

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

clearInterval(this.interval);
this._running = false;
}
console.dir(result);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a quick question: will it be any help to us having the console here.. without have it in the splunk?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes for browser review and will pass to splunk dependent on test time

this._running = false;
if ((Date.now() - this._beginTime) > this.testLength) {
this.endTest();
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update similar to downloads

@abhishekgupta-lab
Copy link

+1 once you address comment we discuss to add else block with abort all and Oops message

@kemarc
Copy link
Collaborator

kemarc commented Aug 16, 2017

+1 provisional, once you address comments

@rotosonic rotosonic force-pushed the EricTest branch 2 times, most recently from 7efc7b1 to bb3a5b0 Compare August 16, 2017 16:38
@rotosonic rotosonic merged commit 2b7c05f into Comcast:master Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants