Fix warning in release test