LGouellec / kafka-streams-dotnet

.NET Stream Processing Library for Apache Kafka 🚀
https://lgouellec.github.io/kafka-streams-dotnet/
MIT License
455 stars 74 forks source link

Test ShouldSumNumbersWithTwoWindowsAndDSTTimezone is failing when in a Windows platform #38

Closed leonasa closed 1 year ago

leonasa commented 3 years ago

Description

The unit test ShouldSumNumbersWithTwoWindowsAndDSTTimezone fails when running in a Windows environment.

How to reproduce

Run the unit test ShouldSumNumbersWithTwoWindowsAndDSTTimezone in a Windows machine/docker image

LGouellec commented 3 years ago

Thanks for your issue.

Very strange, its works with my settings. France language Timezone Paris

What are your settings ?

leonasa commented 3 years ago

I was actually trying to build on github: https://github.com/leonasa/kafka-streams-dotnet/runs/1259854403?check_suite_focus=true

I will retry later on a local windows machine.

LGouellec commented 3 years ago

In build ci github, it’s Linux docker container and I already saw that with Linux this test is KO. I don’t know why :(

That’s why I add this condition in my test https://github.com/LGouellec/kafka-streams-dotnet/blob/94c754d2744b8e1e8be4eae6c593b9f680405f7b/test/Streamiz.Kafka.Net.Tests/Public/CustomWindowTests.cs#L132