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

Skip array type tests due to occsional segfaults #1187

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def assert_db_in_out_match(version_store, df_in, symbol):
assert_frame_equal(df_in, df_out.data)


@pytest.mark.skip(reason="Arrays occasionally raise segfault")
class TestEmptyArrays:
def test_single_empty_array(self, lmdb_version_store):
df_in = pd.DataFrame({"col1": [np.array([])]})
Expand Down Expand Up @@ -85,6 +86,7 @@ def test_can_append_empty_array_to_emptyval(self, lmdb_version_store):
assert_frame_equal(df_target, df_out.data)


@pytest.mark.skip(reason="Arrays occasionally raise segfault")
class TestNonEmptyArrays:
def test_single_array(self, lmdb_version_store, array_type):
df_in = pd.DataFrame({"col1": [np.array([1, 2, 3]).astype(array_type)]})
Expand Down Expand Up @@ -124,6 +126,7 @@ def test_can_append(self, lmdb_version_store, array_type):
assert_frame_equal(df_target, df_out.data)


@pytest.mark.skip(reason="Arrays occasionally raise segfault")
class TestFailure:
def test_cannot_mix_scalars_and_arrays(self, lmdb_version_store):
with pytest.raises(Exception):
Expand Down
Loading