Skip to content

Commit c2b8020

Browse files
authored
Bug fix while working on running standalone VC without experiment ID … (#531)
* Bug fix while working on running standalone VC without experiment ID explicitly passing in client server scenario * updating postgresql package for fixing permission issues * resolving commits
1 parent c381ad1 commit c2b8020

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

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("default"));
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("default"));
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("default"));
112112
return Convert.ToBase64String(hashBytes);
113113
}
114114
}

src/VirtualClient/VirtualClient.Main/profiles/PERF-POSTGRESQL-HAMMERDB-TPCC.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"Parameters": {
7272
"Scenario": "DownloadPostgreSQLPackage",
7373
"BlobContainer": "packages",
74-
"BlobName": "postgresql.14.0.0.rev1.zip",
74+
"BlobName": "postgresql.14.0.0.rev2.zip",
7575
"PackageName": "postgresql",
7676
"Extract": true
7777
}

src/VirtualClient/VirtualClient.Main/profiles/PERF-POSTGRESQL-SYSBENCH-OLTP.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"Parameters": {
172172
"Scenario": "DownloadPostgreSQLServerPackage",
173173
"BlobContainer": "packages",
174-
"BlobName": "postgresql.14.0.0.rev1.zip",
174+
"BlobName": "postgresql.14.0.0.rev2.zip",
175175
"PackageName": "postgresql",
176176
"Extract": true,
177177
"Role": "Server"

src/VirtualClient/VirtualClient.Main/profiles/PERF-POSTGRESQL-SYSBENCH-TPCC.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"Parameters": {
6060
"Scenario": "DownloadPostgreSQLServerPackage",
6161
"BlobContainer": "packages",
62-
"BlobName": "postgresql.14.0.0.rev1.zip",
62+
"BlobName": "postgresql.14.0.0.rev2.zip",
6363
"PackageName": "postgresql",
6464
"Extract": true,
6565
"Role": "Server"

0 commit comments

Comments
 (0)