upgrade test, flush nodes before shutting down