| Summary: | [WPE] run-minibrowser: unit test test_browser_name_default_with_cog_built is failing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | clopez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Pull request: https://github.com/webkit/webkit/pull/15478 Committed 265700@main (de456d04c100): <https://commits.webkit.org/265700@main> Reviewed commits have been landed. Closing PR #15478 and removing active labels. |
Unit test test_browser_name_default_with_cog_built is producing the following error in the WPE-Release-Test bot: ``` [1057/2215] webkitpy.port.wpe_unittest.WPEPortTest.test_browser_name_default_with_cog_built failed: Traceback (most recent call last): File "/app/webkit/Tools/Scripts/webkitpy/port/wpe_unittest.py", line 94, in test_browser_name_default_with_cog_built self.assertEqual(port.browser_name(), "cog") AssertionError: 'minibrowser' != 'cog' - minibrowser + cog ``` The reason is that environment variable WPE_BROWSER is set to 'minibrowser' in that host. The test should evaluate `port.browser_name()` on an empty environment.