Skip to content

Commit 18fe621

Browse files
committed
Bug fix while working on running standalone VC without experiment ID explicitly passing in client server scenario
1 parent b45cd3d commit 18fe621

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/VirtualClient/VirtualClient.Actions/HammerDB/HammerDBExecutor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public string SuperUserPassword
8484
{
8585
get
8686
{
87-
byte[] hashBytes = SHA256.HashData(Encoding.UTF8.GetBytes(this.ExperimentId));
87+
byte[] hashBytes = SHA256.HashData(Encoding.UTF8.GetBytes("postgres"));
8888
return Convert.ToBase64String(hashBytes);
8989
}
9090
}

src/VirtualClient/VirtualClient.Actions/Sysbench/SysbenchExecutor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public string SuperUserPassword
152152
{
153153
get
154154
{
155-
byte[] hashBytes = SHA256.HashData(Encoding.UTF8.GetBytes(this.ExperimentId));
155+
byte[] hashBytes = SHA256.HashData(Encoding.UTF8.GetBytes("postgres"));
156156
return Convert.ToBase64String(hashBytes);
157157
}
158158
}

src/VirtualClient/VirtualClient.Dependencies/PostgreSQLServer/PostgreSQLServerConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public string SuperUserPassword
108108
{
109109
get
110110
{
111-
byte[] hashBytes = SHA256.HashData(Encoding.UTF8.GetBytes(this.ExperimentId));
111+
byte[] hashBytes = SHA256.HashData(Encoding.UTF8.GetBytes("postgres"));
112112
return Convert.ToBase64String(hashBytes);
113113
}
114114
}

0 commit comments

Comments
 (0)