Skip to content

Commit 79bf5e2

Browse files
committed
2021.2 Patch 2 release
1 parent 7f342f7 commit 79bf5e2

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

p4api.net-unit-test/P4ServerTest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,11 @@ private void PasswordTest(Utilities.CheckpointType cptype)
17681768
Assert.IsFalse(target.UseUnicode, "Non Unicode server detected as supporting Unicode");
17691769

17701770
string actual = target.Password;
1771-
Assert.IsFalse(string.IsNullOrEmpty(actual));
1771+
1772+
#if _WINDOWS
1773+
// P4APINET-524: if _WINDOWS condition can be removed once this is JIRA fixed. More details in the JIRA P4APINET-524.
1774+
Assert.IsTrue(string.IsNullOrEmpty(actual));
1775+
#endif
17721776

17731777
/// try a bad value
17741778
target.Password = "ssap";

p4api.net/P4Server.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,6 @@ internal P4Server(String server,
393393
SetResolveCallback();
394394
SetResolveACallback();
395395
SetParallelTransferCallback();
396-
397-
// If we were supplied a password, login into the server. If the
398-
// server requires a login (security level >= 3), this will prompt
399-
// for the password. If login is not required, the command will just
400-
// return with a result saying that login is not required.
401-
Login(pass, null);
402396
}
403397

404398
/// <summary>

0 commit comments

Comments
 (0)