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 test script: Consume memory the whole time, not just the end #54

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

asmacdo
Copy link
Member

@asmacdo asmacdo commented Jun 7, 2024

duct ./test_script.py -- --duration 3 --memory-size 1000                        
duct is executing ./test_script.py --duration 3 --memory-size 1000...
Log files will be written to .duct/logs/2024.06.07T10.26.03-527426_
this is of test of STDERR
this is of test of STDOUT
Test completed. Consumed 1000 MB for 3 seconds with CPU load factor 10000.

Exit Code: 0
Command: ./test_script.py --duration 3 --memory-size 1000
Log files location: .duct/logs/2024.06.07T10.26.03-527426_
Wall Clock Time: 3.3988728523254395
Memory Peak Usage: 3.1%
CPU Peak Usage: 119.0%

@asmacdo asmacdo merged commit f74d1e7 into con:main Jun 7, 2024
21 checks passed
@asmacdo asmacdo deleted the fix-test-script branch August 22, 2024 15:04
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.

1 participant