Skip to content

test: port the two missing #36077 TeamResourceIT CSV import tests - #189

Merged
BMJLearnToHelloWorld merged 1 commit into
mainfrom
m2-wave2-team-36077-tests
Nov 10, 2026
Merged

BMJLearnToHelloWorld merged 1 commit into
mainfrom
m2-wave2-team-36077-tests

Conversation

@BMJLearnToHelloWorld

Copy link
Copy Markdown
Owner

内容

补上游 open-metadata#36077 的两个测试(1 个文件 +73/−0,TeamResourceIT.java)。主干已有 open-metadata#36077 的实现(逐行 EDIT_ALL 授权),但缺了它的两个测试(覆盖缺口 R-W2TEAM-2):

  • test_importCsv_cannotEditTeamOutsideCallerPermissions
  • test_importCsv_teamOwnerCreatesSubTeam

pin a3012259ca 的 :2036–2108 行原样搬入主干文件对应位置,与 pin 字节一致(diff 为空),无 import 调整,无需新增 helper。

依据

  • pin-vs-main 比对:~/workspace/work/teamresource-pin-compare/RESULT.md(第 1 节)。
  • 与 R-W2TEAM-1(test_importCsv_ownerDryRunReimportsNestedHierarchy 上游既有失败)无关:那个用例未跑、未动。

测试

  • 服务器 Maven 门禁(mysql-elasticsearch 并行 lane,与 18:36 单跑同一配置):两个用例均 PASS(Tests run: 2, Failures: 0, Errors: 0, Skipped: 0,Maven exit 0,657s)。

@BMJLearnToHelloWorld
BMJLearnToHelloWorld merged commit c82e61a into main Nov 10, 2026
57 checks passed
BMJLearnToHelloWorld added a commit that referenced this pull request Nov 10, 2026
…190)

* feat: G-23 stage 4 (per-type permission gate for custom properties)

* rebase: carry #188/#189 base changes onto m2-wave3-g23-s4
@BMJLearnToHelloWorld
BMJLearnToHelloWorld deleted the m2-wave2-team-36077-tests branch November 12, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant