openhab-core/.gitattributes

5 lines
69 B
Plaintext
Raw Permalink Normal View History

Improve test stability and OS compatibility (#2878) This fixes the build being broken when building on Windows. It also contains many fixes for timing issues which seem to impact macOS and Windows more than Linux. * Fix .gitattributes and add *.xml_gen to fix line ending issues on Windows * Derive fork count from CPU details in org.openhab.core tests for more stable tests on machines with fewer cores * Adjust SafeCallerImplTest timings * Increase ExecUtilTest timeout * Increase SchedulerImplTest timeouts * Increase AudioConsoleTest serveStream timeout * Increase AudioServletTest serveStream timeout * Increase SchedulerImplTest test timeouts * Increase ExpireManagerTest timeout used for checking published events * Increase PeriodicSchedulerImplTest max allowed delta * Increase SchedulerImplTest timeouts * Fix BundleInfoReader file stream not closed causing temp dir deletion issues on Windows * Fix GenerateDefaultTranslationsMojoTest Windows line endings issues * Fix GenerateDefaultTranslationsMojoTest Windows temp dir deletion problem * Fix GenericItemProviderTest tearDown sometimes fails because of queued events * Fix ChannelLinkNotifierOSGiTest wait for channel link events * Fix ChannelCommandDescriptionProviderOSGiTest fails if provider not immediately registered * Fix ChannelStateDescriptionProviderOSGiTest fails if provider not immediately registered * Fix GenericItemChannelLinkProviderTest not waiting for async updated state to become true * Fix GenericThingProviderTest failing due to events of previous test * Fix InboxOSGiTest sometimes fails because of queued events * Fix ScriptEngineOSGiTest failing because items are not yet added to registry * Fix ThingManagerOSGiTest failing due to async handleRemoval call Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-14 23:00:33 +02:00
*.java text=auto
*.xml text=auto
*.xml_gen text=auto
*.xsd text=auto