Skip to content

Commit

Permalink
[Fix](auth)Fix variable types to ArrayList (apache#42078)
Browse files Browse the repository at this point in the history
## Proposed changes

[Fix](auth)Fix variable types to ArrayList
  • Loading branch information
zfr9527 authored Oct 18, 2024
1 parent 5e6e4bf commit 19ad414
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,14 @@ suite ("test_follower_consistent_auth","p0,auth") {
}
sql """GRANT USAGE_PRIV ON RESOURCE ${rg} TO ${user};"""
connect(user=user, password="${pwd}", url=url_tmp1) {
def res = sql """SHOW RESOURCES;"""
assertTrue(res.size == 10)
ArrayList res = sql """SHOW RESOURCES;"""
logger.info("res:" + res)
assertTrue(res.size() == 10)
}
connect(user=user, password="${pwd}", url=new_jdbc_url) {
def res = sql """SHOW RESOURCES;"""
assertTrue(res.size == 10)
ArrayList res = sql """SHOW RESOURCES;"""
logger.info("res:" + res)
assertTrue(res.size() == 10)
}

try_sql("DROP USER ${user}")
Expand Down

0 comments on commit 19ad414

Please sign in to comment.