I checkout a branch, say X from master branch, added my code and later pushed to gerrit. It got merged to the master branch.
My teammate was working on another change and when they submit their change, they found that my X branch code there was a test failure.
They cannot push the code to gerrit unless my tests are fixed which I checked in X branch.
How should I go ahead?
Can I still edit the X branch - amend commit - push to merged gerrit?
Or should I go ahead by creating a new branch and edit my test file there?