Fix bug test failed on CI.