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

Created dumps for marshal tests #1100

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Created dumps for marshal tests #1100

merged 1 commit into from
Oct 2, 2023

Conversation

aidanharan
Copy link
Contributor

Create dumps for the MarshalSerializationTest tests. This fixes the MarshalSerializationTest#test_deserializing_rails_7_1_marshal_basic test. However, both these tests with associations are still failing:

  • MarshalSerializationTest#test_deserializing_rails_6_1_marshal_with_loaded_association_cache
  • MarshalSerializationTest#test_deserializing_rails_7_1_marshal_with_loaded_association_cache

Created the dumps using the following (see #980 for more info):

File.binwrite(marshal_fixture_path("rails_7_1_topic"), Marshal.dump(Topic.find(1))) 
topic = Topic.find(1)

topic.replies
File.binwrite(marshal_fixture_path("rails_7_1_topic_associations"), Marshal.dump(topic))

Created the dumps using:

File.binwrite(marshal_fixture_path("rails_7_1_topic"), Marshal.dump(Topic.find(1)))
topic = Topic.find(1)

topic.replies
File.binwrite(marshal_fixture_path("rails_7_1_topic_associations"), Marshal.dump(topic))
@aidanharan aidanharan marked this pull request as ready for review October 2, 2023 12:43
@aidanharan aidanharan merged commit 3635676 into main Oct 2, 2023
0 of 8 checks passed
@aidanharan aidanharan deleted the marshal-rails71-dump branch October 2, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant