Skip to content

Commit

Permalink
Add validaton to prevent creating another new name with a different uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
Yingjian Wu committed Jul 5, 2024
1 parent 07c7b18 commit 5319e2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ class ParentChildRelMetadataServiceSpec extends Specification{
service.createParentChildRelation(parent, randomParentUUID, randomChild, randomChildUUID, type)
then:
def e = thrown(RuntimeException)
assert e.message.contains("This normally means table %s already exists")
assert e.message.contains("This normally means table prodhive/testpc/p already exists")

// Same childName with a different uuid should fail
when:
Expand Down

0 comments on commit 5319e2e

Please sign in to comment.