You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test creates an external link (create_external) in the root of the test file. Later, when the failing test runs, it tries to create a group with same name of that link and fails. Here is a copy of the HDF5 file right before the test fails: tmp973T4B.tmp.zip
Screenshot
The failing test tries to create a group with name Ελληνικά which already exists.
Solution
A solution could be to not consume all UTF-8 names in the loop here:
Instead, let the loop start at int i = 1. But that might not be very clean. Maybe a totally different group name is required in the H5Lunpack_elink_valTest3 test.
A am not quite sure why this error only happens on Linux. My only guess is that the tests are executed in a different order on Windows and Linux.
The text was updated successfully, but these errors were encountered:
Problem
When I build HDF.PInvoke under Linux using AppVeyor, a single test fails (see here: https://ci.appveyor.com/project/Apollo3zehn/hdf-pinvoke-netstandard/builds/24840707)
The failing line of code is:
HDF.PInvoke/UnitTests/H5LTest/H5Lunpack_elink_val.cs
Lines 182 to 183 in 90b1c76
The reason is that, before this test is executed, this one runs:
HDF.PInvoke/UnitTests/H5LTest/H5Lget_name_by_idx.cs
Lines 82 to 94 in 90b1c76
This test creates an external link (
create_external
) in the root of the test file. Later, when the failing test runs, it tries to create a group with same name of that link and fails. Here is a copy of the HDF5 file right before the test fails:tmp973T4B.tmp.zip
Screenshot
The failing test tries to create a group with name
Ελληνικά
which already exists.Solution
A solution could be to not consume all UTF-8 names in the loop here:
HDF.PInvoke/UnitTests/H5LTest/H5Lget_name_by_idx.cs
Line 89 in 90b1c76
Instead, let the loop start at
int i = 1
. But that might not be very clean. Maybe a totally different group name is required in theH5Lunpack_elink_valTest3
test.A am not quite sure why this error only happens on Linux. My only guess is that the tests are executed in a different order on Windows and Linux.
The text was updated successfully, but these errors were encountered: