Skip to content

Commit 951b57c

Browse files
committed
Disable "Perforce/MultiFactorAuthentication" that only works locally on Windows, but not on CI
1 parent 8abc8ef commit 951b57c

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

build.pl

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,20 @@
108108
sub TestPerforce()
109109
{
110110
my $failed = 0;
111-
$failed += IntegrationTest("1/8", "Plugin", "localhost:1667", $testoption, $filter);
112-
$failed += IntegrationTest("2/8", "Plugin", "ssl:localhost:1667", $testoption, $filter);
113-
$failed += IntegrationTest("3/8", "Perforce/Common", "localhost:1667", $testoption, $filter);
114-
$failed += IntegrationTest("4/8", "Perforce/Common", "ssl:localhost:1667", $testoption, $filter);
115-
$failed += IntegrationTest("5/8", "Perforce/BaseIPv4", "tcp4:localhost:1667", $testoption, $filter);
116-
$failed += IntegrationTest("6/8", "Perforce/SecureBaseIPv4", "ssl4:localhost:1667", $testoption, $filter);
117-
$failed += IntegrationTest("7/8", "Perforce/SquareBracketIPv4", "tcp4:[localhost]:1667", $testoption, $filter);
118-
$failed += IntegrationTest("8/8", "Perforce/MultiFactorAuthentication", "localhost:1667", $testoption, $filter);
111+
$failed += IntegrationTest("1-7", "Plugin", "localhost:1667", $testoption, $filter);
112+
$failed += IntegrationTest("2-7", "Plugin", "ssl:localhost:1667", $testoption, $filter);
113+
$failed += IntegrationTest("3-7", "Perforce/Common", "localhost:1667", $testoption, $filter);
114+
$failed += IntegrationTest("4-7", "Perforce/Common", "ssl:localhost:1667", $testoption, $filter);
115+
$failed += IntegrationTest("5-7", "Perforce/BaseIPv4", "tcp4:localhost:1667", $testoption, $filter);
116+
$failed += IntegrationTest("6-7", "Perforce/SecureBaseIPv4", "ssl4:localhost:1667", $testoption, $filter);
117+
$failed += IntegrationTest("7-7", "Perforce/SquareBracketIPv4", "tcp4:[localhost]:1667", $testoption, $filter);
118+
# Only works locally, not in CI
119+
# $failed += IntegrationTest("8-7", "Perforce/MultiFactorAuthentication", "localhost:1667", $testoption, $filter);
119120
# Only works if DNS routes via IPv6
120-
# $failed += IntegrationTest("Perforce/BaseIPv6", "tcp6:[localhost]:1667", $testoption, $filter);
121+
# $failed += IntegrationTest("9-7", "Perforce/BaseIPv6", "tcp6:[localhost]:1667", $testoption, $filter);
121122
# Does not work in new version of Perforce server
122-
# $failed += IntegrationTest("Perforce/SquareBracketIPv6", "tcp6:[::1]:1667", $testoption, $filter);
123-
# $failed += IntegrationTest("Perforce/SecureSquareBracketIPv6", "ssl6:[::1]:1667", $testoption, $filter);
123+
# $failed += IntegrationTest("10-7", "Perforce/SquareBracketIPv6", "tcp6:[::1]:1667", $testoption, $filter);
124+
# $failed += IntegrationTest("11-7", "Perforce/SecureSquareBracketIPv6", "ssl6:[::1]:1667", $testoption, $filter);
124125

125126
if ($failed > 0)
126127
{

0 commit comments

Comments
 (0)