mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Bug 1087120 - Fix intermittent browser_ContentSearch.js failure by increasing timeout for remote search suggestions. r=MattN
This commit is contained in:
parent
fdda3e887e
commit
78863fbec9
@ -6,6 +6,10 @@ const TEST_MSG = "ContentSearchTest";
|
||||
const CONTENT_SEARCH_MSG = "ContentSearch";
|
||||
const TEST_CONTENT_SCRIPT_BASENAME = "contentSearch.js";
|
||||
|
||||
// This timeout is absurdly high to avoid random failures like bug 1087120.
|
||||
// That bug was reported when the timeout was 5 seconds, so let's try 10.
|
||||
const SUGGESTIONS_TIMEOUT = 10000;
|
||||
|
||||
var gMsgMan;
|
||||
|
||||
add_task(function* GetState() {
|
||||
@ -201,7 +205,7 @@ add_task(function* GetSuggestions_AddFormHistoryEntry_RemoveFormHistoryEntry() {
|
||||
data: {
|
||||
engineName: engine.name,
|
||||
searchString: searchStr,
|
||||
remoteTimeout: 5000,
|
||||
remoteTimeout: SUGGESTIONS_TIMEOUT,
|
||||
},
|
||||
});
|
||||
|
||||
@ -237,7 +241,7 @@ add_task(function* GetSuggestions_AddFormHistoryEntry_RemoveFormHistoryEntry() {
|
||||
data: {
|
||||
engineName: engine.name,
|
||||
searchString: searchStr,
|
||||
remoteTimeout: 5000,
|
||||
remoteTimeout: SUGGESTIONS_TIMEOUT,
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user