Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test failure in TestMetadataTransferred #28853

Merged
merged 1 commit into from
Jul 16, 2024

Fix test failure in `TestMetadataTransferred`

2c102fc
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix test failure in TestMetadataTransferred #28853

Fix test failure in `TestMetadataTransferred`
2c102fc
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results (macOS, SingleThread) failed Jul 13, 2024 in 0s

5983 passed, 2 failed and 52 skipped

Tests failed

❌ TestResults-macOS-SingleThread.trx

6037 tests were completed in 1732s with 5983 passed, 2 failed and 52 skipped.

Test suite Passed Failed Skipped Time
osu.Game.Tests.Visual.Online.TestSceneBeatmapListingOverlay 14✅ 1❌ 23s
osu.Game.Tests.Visual.SongSelect.TestSceneSongSelectV2Navigation 1✅ 1❌ 19s

❌ osu.Game.Tests.Visual.Online.TestSceneBeatmapListingOverlay

❌ TestCardSizeSwitching(False)
	"all loaded beatmap cards are osu.Game.Beatmaps.Drawables.Cards.BeatmapCardNormal" timed out
✅ TestCardSizeSwitching(True)
✅ TestConstructor
✅ TestCorrectOldContentExpiration
✅ TestDuplicatedBeatmapOnlyShowsOnce
✅ TestExpandedCardContentNotClipped
✅ TestFeaturedArtistFilter
✅ TestHideViaBack
✅ TestHideViaBackWithScrolledSearch
✅ TestHideViaBackWithSearch
✅ TestNoBeatmapsPlaceholder
✅ TestUserWithoutSupporterUsesSupporterOnlyFiltersWithoutResults
✅ TestUserWithoutSupporterUsesSupporterOnlyFiltersWithResults
✅ TestUserWithSupporterUsesSupporterOnlyFiltersWithoutResults
✅ TestUserWithSupporterUsesSupporterOnlyFiltersWithResults

❌ osu.Game.Tests.Visual.SongSelect.TestSceneSongSelectV2Navigation

✅ TestClickLogo
❌ TestConstructor
	"Wait for main menu" timed out

Annotations

Check failure on line 539 in osu.Game/Tests/Visual/OsuTestScene.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (macOS, SingleThread)

osu.Game.Tests.Visual.Online.TestSceneBeatmapListingOverlay ► TestCardSizeSwitching(False)

Failed test found in:
  TestResults-macOS-SingleThread.trx
Error:
  "all loaded beatmap cards are osu.Game.Beatmaps.Drawables.Cards.BeatmapCardNormal" timed out
Raw output
"all loaded beatmap cards are osu.Game.Beatmaps.Drawables.Cards.BeatmapCardNormal" timed out
   at osu.Framework.Testing.Drawables.Steps.UntilStepButton.<>c__DisplayClass11_0.<.ctor>b__0()
   at osu.Framework.Testing.Drawables.Steps.StepButton.PerformStep(Boolean userTriggered)
   at osu.Framework.Testing.TestScene.runNextStep(Action onCompletion, Action`1 onError, Func`2 stopCondition)
--- End of stack trace from previous location ---
   at osu.Framework.Testing.TestSceneTestRunner.TestRunner.RunTestBlocking(TestScene test)
   at osu.Game.Tests.Visual.OsuTestScene.OsuTestSceneTestRunner.RunTestBlocking(TestScene test) in /Users/runner/work/osu/osu/osu.Game/Tests/Visual/OsuTestScene.cs:line 539
   at osu.Framework.Testing.TestScene.UseTestSceneRunnerAttribute.AfterTest(ITest test)
   at NUnit.Framework.Internal.Commands.TestActionCommand.<>c__DisplayClass0_0.<.ctor>b__1(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__1()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 539 in osu.Game/Tests/Visual/OsuTestScene.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (macOS, SingleThread)

osu.Game.Tests.Visual.SongSelect.TestSceneSongSelectV2Navigation ► TestConstructor

Failed test found in:
  TestResults-macOS-SingleThread.trx
Error:
  "Wait for main menu" timed out
Raw output
"Wait for main menu" timed out
   at osu.Framework.Testing.Drawables.Steps.UntilStepButton.<>c__DisplayClass11_0.<.ctor>b__0()
   at osu.Framework.Testing.Drawables.Steps.StepButton.PerformStep(Boolean userTriggered)
   at osu.Framework.Testing.TestScene.runNextStep(Action onCompletion, Action`1 onError, Func`2 stopCondition)
--- End of stack trace from previous location ---
   at osu.Framework.Testing.TestSceneTestRunner.TestRunner.RunTestBlocking(TestScene test)
   at osu.Game.Tests.Visual.OsuTestScene.OsuTestSceneTestRunner.RunTestBlocking(TestScene test) in /Users/runner/work/osu/osu/osu.Game/Tests/Visual/OsuTestScene.cs:line 539
   at osu.Framework.Testing.TestScene.UseTestSceneRunnerAttribute.AfterTest(ITest test)
   at NUnit.Framework.Internal.Commands.TestActionCommand.<>c__DisplayClass0_0.<.ctor>b__1(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__1()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)