Chia-Ping Tsai created KAFKA-18128:
--------------------------------------
Summary: Fix failed test
MetadataSchemaCheckerToolTest.testVerifyEvolutionGit in PR
Key: KAFKA-18128
URL: https://issues.apache.org/jira/browse/KAFKA-18128
Project: Kafka
Issue Type: Bug
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
there are two issues in MetadataSchemaCheckerToolTest
# it assumes the root folder name is `kafka`
# it assumes the root folder has ref "refs/heads/trunk" but it is not
existent in PR. see the fetch command used by CI
```
git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules
--depth=1 origin
+e2aee931410fe32dd62ac8b832b437f058c1f43e:refs/remotes/pull/17980/merge
```
That means the refs in PR repo are only "HEAD" and
"refs/remotes/pull/17980/merge"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)