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

Inconsistent test failure in ValidateCommand_BasicTest #8121

Open
MiYanni opened this issue Jun 13, 2024 · 1 comment
Open

Inconsistent test failure in ValidateCommand_BasicTest #8121

MiYanni opened this issue Jun 13, 2024 · 1 comment
Labels

Comments

@MiYanni
Copy link
Member

MiYanni commented Jun 13, 2024

Summary

I've seen this test fail a few times in the last few days of reviewing PRs. Here, it failed on the Windows Release job:

VerifyException : Directory: D:\a\_work\1\s\test\Microsoft.TemplateEngine.Authoring.CLI.IntegrationTests\Snapshots
NotEqual:
  - Received: ValidateCommandTests.ValidateCommand_BasicTest.Windows.received.txt
    Verified: ValidateCommandTests.ValidateCommand_BasicTest.Windows.verified.txt

FileContent:

NotEqual:

Received: ValidateCommandTests.ValidateCommand_BasicTest.Windows.received.txt
Verified: ValidateCommandTests.ValidateCommand_BasicTest.Windows.verified.txt
Compare Result:
54       Template 'name' (TestAssets.Invalid.Localization.ValidationFailure): the template is valid.
 -       'de-DE' localization for the template 'name' (TestAssets.Invalid.Localization.ValidationFailure): the localization file is not valid. The localization will be skipped.
 +       'de-DE' localization for the template 'name' (TestAssets.
 -       'tr' localization for the template 'name' (TestAssets.Invalid.Localization.ValidationFailure): the localization file is not valid. The localization will be skipped.
 -       
   [EOF]

Seems to have to be some kind of localization error. Not sure why it isn't consistently failing.

@MiYanni MiYanni added the test label Jun 13, 2024
@MiYanni
Copy link
Member Author

MiYanni commented Jun 13, 2024

Another one on Windows Debug job:

VerifyException : Directory: D:\a\_work\1\s\test\Microsoft.TemplateEngine.Authoring.CLI.IntegrationTests\Snapshots
NotEqual:
  - Received: ValidateCommandTests.ValidateCommand_BasicTest.Windows.received.txt
    Verified: ValidateCommandTests.ValidateCommand_BasicTest.Windows.verified.txt

FileContent:

NotEqual:

Received: ValidateCommandTests.ValidateCommand_BasicTest.Windows.received.txt
Verified: ValidateCommandTests.ValidateCommand_BasicTest.Windows.verified.txt
Compare Result:
54       Template 'name' (TestAssets.Invalid.Localization.ValidationFailure): the template is valid.
 -       'de-DE' localization for the template 'name' (TestAssets.Invalid.Localization.ValidationFailure): the localization file is not valid. The localization will be skipped.
 +       'de-DE' localization for the template 'name' (TestAssets.
 -       'tr' localization for the template 'name' (TestAssets.Invalid.Localization.ValidationFailure): the localization file is not valid. The localization will be skipped.
 -       
   [EOF]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant