Update test to reallocate port Upstream-commit: 79c0ca81fcb4f946c5aa3ca5936d9fc6e093ffef Component: engine