Skip to content

Fix unstable and failed tests on Windows platform

Pavel Kisliak requested to merge bugfix/tests_stability into main

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [No]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description

In this MR several fixes for tests, there were some unstable and failed tests on Windows platform.

Below tests works unstable:

  • test_Dataspace24_PutDataspaces3_xdata
  • test_Dataspace24_PutDataspaces3

(The entity creation time can be a little smaller or greater than start/end time, the reason is unclear)

Failed test:

  • test_GetResources

(Used type with wrong size)

Hanging tests:

  • test_large_epc
  • test_large_epc_mt

(Deadlock when read from stderr stream, looks like issue on Boost lib side, because works fine in Linux)

This is last MR in series with fixes for Windows platform, now all should compile and work fine.

Btw, I've used VCPKG for get dependent packages, I think will be nice to integrate it. There exists just one issue on Linux with Boost tests, appears because of static linking (Open-ETP-Server configured for dynamic). VCPKG uses only static linkage on Linux platform due some technical limitations (more info). As alternative could be used Conan, but unfortunately there are absent few required libraries.

Edited by Pavel Kisliak

Merge request reports