Closed ckendrick closed 4 months ago
@ckendrick can you please provide an example test that demonstrates the issue?
@dylan-copeland this issue should occur if you run any example from the current upstream branch during the offline phase. This should happen to any code that calls endSamples()
or writeSnapshot()
. Some examples I tried were
dg_advection_global_rom -offline
poisson_global_rom -offline -f 1.0 -id 0
@dylan-copeland would you review this PR again?
@dreamer2368 do you approve this PR?
@dylan-copeland we need your review again on this PR.
This adds a return statement to the base Database functions
open()
andcreate()
. Without these, calls toendSamples()
andwriteSnapshot()
would hang indefinitely printing newlines to screen.This also adds a test to the CI that calls
writeSnapshot()
to catch this behavior in the future.