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

fix: adjust tests for failure to start due to network mismatch #3274

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

dav1do
Copy link
Contributor

@dav1do dav1do commented Jul 30, 2024

Description

Related to the new network startup check for ceramic one. That error happens earlier than the cas error was, so we get a different error. On kubo, we get the old error. We also check a few fields are not null when cleaning up in case we somehow didn't manage to call init() due to an error in ceramic._init() but we still try to stop everything.

  • Ran tests locally with c1

PR checklist

Before submitting this PR, please make sure:

  • I have tagged the relevant reviewers and interested parties
  • I have updated the READMEs of affected packages
  • I have made corresponding changes to the documentation

References:

Please list relevant documentation (e.g. tech specs, articles, related work etc.) relevant to this change, and note if the documentation has been updated.

dav1do added 2 commits July 30, 2024 09:57
the handling of clean up after exceptions during ceramic start is error prone. This helps keep tests happy so we don't get 'tried to access undefined' errors but see a real message
@dav1do dav1do requested review from dbcfd and smrz2001 July 30, 2024 16:19
Copy link
Contributor

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@dav1do dav1do enabled auto-merge (squash) July 30, 2024 17:03
@dav1do dav1do merged commit bd04b65 into develop Jul 30, 2024
5 checks passed
@dav1do dav1do deleted the fix/init-cleanup branch July 30, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants