Skip to content

Commit 9679cea

Browse files
authored
making memcached as background running server process (#310)
* making memcached as background running server process * updating Unit tests
1 parent 7ddf2f3 commit 9679cea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/VirtualClient/VirtualClient.Actions.FunctionalTests/Memcached/MemcachedServerProfileTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public async Task MemcachedMemtierWorkloadProfileExecutesTheWorkloadAsExpectedOf
6868

6969
IEnumerable<string> expectedCommands = new List<string>
7070
{
71-
$"sudo -u mockuser bash -c \"numactl -C {string.Join(",", Enumerable.Range(0, Environment.ProcessorCount))} /.+/memcached -p 6379 -t 4 -m 30720 -c 16384\""
71+
$"sudo -u mockuser bash -c \"numactl -C {string.Join(",", Enumerable.Range(0, Environment.ProcessorCount))} /.+/memcached -p 6379 -t 4 -m 30720 -c 16384 :: &\""
7272
};
7373

7474
// Setup the expectations for the workload

src/VirtualClient/VirtualClient.Main/profiles/PERF-MEMCACHED.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Parameters": {
2121
"Scenario": "Server",
2222
"PackageName": "memcached",
23-
"CommandLine": "-p {Port} -t 4 -m 30720 -c {ServerMaxConnections}",
23+
"CommandLine": "-p {Port} -t 4 -m 30720 -c {ServerMaxConnections} :: &",
2424
"BindToCores": true,
2525
"Port": "$.Parameters.ServerPort",
2626
"ServerThreadCount": 4,

0 commit comments

Comments
 (0)