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

[DateTimeModel] Test Microsoft.Recognizers.Text.DateTime.Tests. TestDateTime_German DateTimeModel occasionally fail #3149

Open
MichaelMWW opened this issue Aug 13, 2024 · 0 comments

Comments

@MichaelMWW
Copy link
Collaborator

Describe the bug
Test Microsoft.Recognizers.Text.DateTime.Tests. TestDateTime_German DateTimeModel occasionally fail

To Reproduce
Steps to reproduce the behavior:

  1. Open the Microsoft.Recognizers.Text.sln solution under .NET folder, build the solution.
  2. Open the Test Explorer, find the test Microsoft.Recognizers.Text.DateTime.Tests. TestDateTime_German DateTimeModel, right click it and click Run Until Failure, the issue can be repro, more details please refer below image.
    image

Expected behavior
The test passed

Sample input/output
Test failed occasionally, it is an issue not always repro.

Failed build:
https://ci.appveyor.com/project/tellarin/recognizers-text/builds/50375089

Error message:
Failed Microsoft.Recognizers.Text.DateTime.Tests.TestDateTime_German DateTimeModel [13 ms]
Error Message:
Test method Microsoft.Recognizers.Text.DateTime.Tests.TestDateTime_German.DateTimeModel threw exception:
System.ApplicationException: Input: "Tag der Arbeit, ersten Weihnachtsfeiertag, zweiten Weihnachtstag" ---> System.NullReferenceException: Object reference not set to an instance of an object.
Stack Trace:
at Microsoft.Recognizers.Text.DataDrivenTests.TestBase.TestDateTime(TestModel testSpec) in C:\projects\recognizers-text.NET\Microsoft.Recognizers.Text.DataDrivenTests\TestBase.cs:line 87
--- End of inner exception stack trace ---
at Microsoft.Recognizers.Text.DataDrivenTests.TestBase.TestDateTime(TestModel testSpec) in C:\projects\recognizers-text.NET\Microsoft.Recognizers.Text.DataDrivenTests\TestBase.cs:line 138
at Microsoft.Recognizers.Text.DateTime.Tests.TestDateTime_German.DateTimeModel(TestModel testSpec) in C:\projects\recognizers-text.NET\Microsoft.Recognizers.Text.DataDrivenTests\DateTime\TestDateTime_German.cs:line 206

Platform (please complete the following information):

  • Platform: .NET
  • Environment: nuget package
  • Version of package v1.0.8.7

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant