Add Fake Checkin for K6 Test
This commit is contained in:
parent
e1533a5c23
commit
127f21dc43
3 changed files with 65 additions and 7 deletions
|
|
@ -61,14 +61,9 @@ consumer.Received += async (model, ea) =>
|
|||
|
||||
channel.BasicConsume(queue: "checkin-queue", autoAck: true, consumer: consumer);
|
||||
|
||||
Console.WriteLine("\nPress 'Enter' to exit the process...");
|
||||
|
||||
// another use of "Console.ReadKey()" method
|
||||
// here it asks to press the enter key to exit
|
||||
while (Console.ReadKey().Key != ConsoleKey.Enter)
|
||||
{
|
||||
}
|
||||
//Console.WriteLine("\nPress 'Enter' to exit the process...");
|
||||
|
||||
await Task.Delay(-1);
|
||||
|
||||
static void WriteToConsole(string message)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue