Skip to content

Commit 9a2438b

Browse files
committed
TEST/MINOR: set_uid: fix the set_uid test
1 parent 481e75f commit 9a2438b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ allowed:
4040
- backport
4141
- dns
4242
- newcert
43+
- uid

e2e/tests/set_uid/test.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ setup() {
2424
run dpa_docker_exec 'pkill -9 dataplaneapi'
2525
assert_success
2626

27-
run dpa_docker_exec 'adduser -u 1500 testuiduser'
28-
#assert_success ignore error since we do not plan to insert password, user will be created
27+
run dpa_docker_exec 'useradd -m -p test -s /bin/bash -u 1500 testuiduser'
28+
assert_success
2929

3030
run docker cp "${BATS_TEST_DIRNAME}/dataplaneapi.yaml" "${DOCKER_CONTAINER_NAME}:/home/testuiduser/dataplaneapi.yaml"
3131
assert_success

0 commit comments

Comments
 (0)