clean up tests. remove placeholder assert-true tests, fix replay
protection and NAT test logic, fix MWP connection test peer ID registration, use atomic port counter for test parallelism
This commit is contained in:
@@ -238,9 +238,6 @@ test "file writer initialization" {
|
||||
var writer = try FileWriter.init(test_path, allocator);
|
||||
defer writer.deinit();
|
||||
|
||||
// File should be created and ready for writing
|
||||
try testing.expect(true); // If we get here, test passed
|
||||
|
||||
// Clean up
|
||||
fs.cwd().deleteFile(test_path) catch return;
|
||||
}
|
||||
|
||||
@@ -663,9 +663,6 @@ test "memory cleanup and resource management" {
|
||||
// Manager will be cleaned up when it goes out of scope
|
||||
}
|
||||
|
||||
// If we get here without memory issues, cleanup is working
|
||||
try testing.expect(true);
|
||||
|
||||
// Clean up any remaining test files
|
||||
for (0..5) |i| {
|
||||
for (0..3) |j| {
|
||||
|
||||
Reference in New Issue
Block a user