Skip to content

Conversation

@sanity
Copy link
Collaborator

@sanity sanity commented Nov 13, 2025

Summary

  • add freenet-test-network-powered integration tests plus manual helpers under crates/core/tests
  • harden freenet-ping manual partial-connectivity test (longer waits, contract build fixes, diagnostics dumping)
  • wire up manual-tests feature flag and document how to invoke the scenario

Testing

  • cargo test -p freenet --test test_network_integration
  • cargo test -p freenet --test diagnose_connectivity

@sanity sanity enabled auto-merge November 13, 2025 02:36
@sanity sanity added this pull request to the merge queue Nov 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 13, 2025
#[tokio::test]
async fn diagnose_connectivity_failure() {
// Build network with more relaxed settings
let result = TestNetwork::builder()
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • why now we have multiple test frameworks?
  • why not keep a single implementation under one place we can improve altogether?
  • why not use the test macro?
  • why is it in a different repo complicating integration?

please refactor and pull this in, let's stop creating more code just cause we can and re-use code instead

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You're right, we've had a proliferation of test networks - probably a symptom of the fact that none of them exactly fit what we need. I've opened #2082 for discussion of how to consolidate.

@sanity sanity added this pull request to the merge queue Nov 14, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 14, 2025
@sanity sanity enabled auto-merge November 14, 2025 13:46
@iduartgomez iduartgomez force-pushed the feat/test-network-integration-main branch from 04f9049 to 1e72517 Compare November 16, 2025 16:38
@sanity sanity added this pull request to the merge queue Nov 16, 2025
Merged via the queue into main with commit 13cdac4 Nov 16, 2025
11 checks passed
@sanity sanity deleted the feat/test-network-integration-main branch November 16, 2025 16:59
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