Title: [236370] trunk/LayoutTests
- Revision
- 236370
- Author
- [email protected]
- Date
- 2018-09-21 16:18:58 -0700 (Fri, 21 Sep 2018)
Log Message
Unreviewed, speed up storage/websql/transaction-database-expand-quota.html
This test was so slow that is sometimes timed out on the debug bots.
* storage/websql/transaction-database-expand-quota-expected.txt:
* storage/websql/transaction-database-expand-quota.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (236369 => 236370)
--- trunk/LayoutTests/ChangeLog 2018-09-21 23:18:15 UTC (rev 236369)
+++ trunk/LayoutTests/ChangeLog 2018-09-21 23:18:58 UTC (rev 236370)
@@ -1,3 +1,12 @@
+2018-09-21 Chris Dumez <[email protected]>
+
+ Unreviewed, speed up storage/websql/transaction-database-expand-quota.html
+
+ This test was so slow that is sometimes timed out on the debug bots.
+
+ * storage/websql/transaction-database-expand-quota-expected.txt:
+ * storage/websql/transaction-database-expand-quota.html:
+
2018-09-21 Ryan Haddad <[email protected]>
Unreviewed test gardening, consolidate expectation file for EventTarget-dispatchEvent.html.
Modified: trunk/LayoutTests/storage/websql/transaction-database-expand-quota-expected.txt (236369 => 236370)
--- trunk/LayoutTests/storage/websql/transaction-database-expand-quota-expected.txt 2018-09-21 23:18:15 UTC (rev 236369)
+++ trunk/LayoutTests/storage/websql/transaction-database-expand-quota-expected.txt 2018-09-21 23:18:58 UTC (rev 236370)
@@ -1,7 +1,7 @@
UI DELEGATE DATABASE CALLBACK: exceededDatabaseQuotaForSecurityOrigin:{file, , 0} database:ExpandedQuotaTransaction
-UI DELEGATE DATABASE CALLBACK: increased quota to 6291456
+UI DELEGATE DATABASE CALLBACK: increased quota to 209715
UI DELEGATE DATABASE CALLBACK: exceededDatabaseQuotaForSecurityOrigin:{file, , 0} database:ExpandedQuotaTransaction
-UI DELEGATE DATABASE CALLBACK: increased quota to 11534336
+UI DELEGATE DATABASE CALLBACK: increased quota to 5452595
Check that a quota increase is granted, even if the provided expected size is too low.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Modified: trunk/LayoutTests/storage/websql/transaction-database-expand-quota.html (236369 => 236370)
--- trunk/LayoutTests/storage/websql/transaction-database-expand-quota.html 2018-09-21 23:18:15 UTC (rev 236369)
+++ trunk/LayoutTests/storage/websql/transaction-database-expand-quota.html 2018-09-21 23:18:58 UTC (rev 236370)
@@ -11,13 +11,13 @@
testRunner.dumpAsText();
testRunner.clearAllDatabases();
testRunner.dumpDatabaseCallbacks();
- testRunner.databaseDefaultQuota = 5 * 1024 * 1024;
+ testRunner.databaseDefaultQuota = 0.1 * 1024 * 1024;
testRunner.databaseMaxQuota = 50 * 1024 * 1024;
}
let db;
-const dataSize = 8 * 1024 * 1024; // 8 MB.
+const dataSize = 0.5 * 1024 * 1024; // 0.5 MB.
let largeData = "";
for (let i = 0; i < dataSize; i++)
largeData += "x";
@@ -45,7 +45,7 @@
function runTest() {
try {
- db = openDatabase('ExpandedQuotaTransaction', '', '', 6 * 1024 * 1024);
+ db = openDatabase('ExpandedQuotaTransaction', '', '', 0.2 * 1024 * 1024);
} catch (err) {
testFailed("Failed to open the database");
finishJSTest();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes