summaryrefslogtreecommitdiff
path: root/src/test/java/simulator
AgeCommit message (Collapse)Author
2026-03-27Test VSMain main startup entrypointPaul Buetow
2026-03-27Include VSMain test in default suitePaul Buetow
2026-03-27Fix CLI replay startup on EDTPaul Buetow
2026-03-27Strengthen replay schedule regression checksPaul Buetow
2026-03-27Extend raft replay with recover and later crashPaul Buetow
2026-03-27Fix GUI loader to restore serialized prefsPaul Buetow
2026-03-27Extend Raft replay to 60 secondsPaul Buetow
2026-03-27Refresh and auto-start loaded startup simulationsPaul Buetow
2026-03-27Auto-open CLI simulation files on startupPaul Buetow
2026-03-27sr: retune Raft replay for faster reelectionPaul Buetow
2025-06-22Remove all Raft protocol codePaul Buetow
Removed all Raft-related code as it was not working properly: - Removed VSRaftProtocol.java implementation - Removed all Raft test files - Removed Raft example/demo files - Removed Raft documentation - Removed Raft simulation files (.dat) - Removed Raft scripts - Updated VSRegisteredEvents to remove Raft registration - Updated SimulationBuilder to remove RAFT constant - Updated SimulationFactory to remove Raft methods - Updated SimulationBuilderTest to remove Raft tests - Updated pom.xml to remove Raft test configurations The protocol had issues with leader election not completing in GUI mode. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22Fix message delivery in headless test environmentPaul Buetow
- Fixed HeadlessSimulationEngine to use correct task manager from receiving process - Reduced message delays for testing (10-50ms instead of 500-2000ms) - Fixed process ID method call (getProcessID not getProcessId) - Improved message delivery scheduling to ensure tasks go to the right task manager This resolves message delivery issues where messages were sent but not received. BasicMulticast test now passes, but 12 protocol tests still failing. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-21Implement headless testing framework for DS-Sim protocol simulationsPaul Buetow
- Created HeadlessSimulationRunner that loads and runs simulations without GUI - Implemented LogCapture to intercept and store all simulation logs - Added ProtocolVerifier for flexible pattern-based log verification - Created test runners: standard, with logs, and clean (filters GUI errors) - Implemented tests for all non-Raft protocols - Added DummySimulatorFrame to satisfy GUI dependencies during loading - Created CleanHeadlessRunner that filters GUI-related errors from output - Updated run-tests.sh script with quiet mode option - Documented the framework architecture and usage The framework successfully runs protocol tests and verifies behavior through log analysis. GUI errors occur internally due to tight coupling in DS-Sim but are filtered in quiet mode for clean output. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>