Skip to content

Commit 0be2f36

Browse files
committed
Merge branch 'ld/git-p4-remove-flakey-test'
A flakey "p4" test has been removed. * ld/git-p4-remove-flakey-test: git-p4: remove ticket expiry test
2 parents b966813 + 3f360de commit 0be2f36

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

t/t9833-errors.sh

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -45,33 +45,6 @@ test_expect_success 'ticket logged out' '
4545
)
4646
'
4747

48-
test_expect_success 'create group with short ticket expiry' '
49-
P4TICKETS="$cli/tickets" &&
50-
echo "newpassword" | p4 login &&
51-
p4_add_user short_expiry_user &&
52-
p4 -u short_expiry_user passwd -P password &&
53-
p4 group -i <<-EOF &&
54-
Group: testgroup
55-
Timeout: 3
56-
Users: short_expiry_user
57-
EOF
58-
59-
p4 users | grep short_expiry_user
60-
'
61-
62-
test_expect_success 'git operation with expired ticket' '
63-
P4TICKETS="$cli/tickets" &&
64-
P4USER=short_expiry_user &&
65-
echo "password" | p4 login &&
66-
(
67-
cd "$git" &&
68-
git p4 sync &&
69-
sleep 5 &&
70-
test_must_fail git p4 sync 2>errmsg &&
71-
grep "failure accessing depot" errmsg
72-
)
73-
'
74-
7548
test_expect_success 'kill p4d' '
7649
kill_p4d
7750
'

0 commit comments

Comments
 (0)