Commit 25efcca9 authored by Nasko Oskov's avatar Nasko Oskov Committed by Commit Bot

Ensure MemoryInstrumentationTest::Navigate works correctly.

The navigation performed in the MemoryInstrumentationTest::Navigate
method is using a non-existing file, which means the navigation does
not succeed. This CL fixes the code to use a file that exists and
to check the navigation is actually successful.

Bug: 838161
Change-Id: Icf0715f687a1cdf763b47e3bd3155321e761af96
Reviewed-on: https://chromium-review.googlesource.com/1037637Reviewed-by: default avatarSiddhartha S <ssid@chromium.org>
Commit-Queue: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555146}
parent b6138ca2
......@@ -27,7 +27,7 @@ namespace content {
class MemoryInstrumentationTest : public ContentBrowserTest {
protected:
void Navigate(Shell* shell) {
NavigateToURL(shell, GetTestUrl("", "title.html"));
EXPECT_TRUE(NavigateToURL(shell, GetTestUrl("", "title1.html")));
}
};
......@@ -72,7 +72,7 @@ std::unique_ptr<GlobalMemoryDump> DoGlobalDump() {
defined(THREAD_SANITIZER)
#define MAYBE_PrivateFootprintComputation DISABLED_PrivateFootprintComputation
#else
#define MAYBE_PrivateFootprintComputation PrivateFootprintComputatio
#define MAYBE_PrivateFootprintComputation PrivateFootprintComputation
#endif
// Despite the location, this test is not tracing related.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment