From 83dc8f1c666419434a23e467508061b6897fdfb6 Mon Sep 17 00:00:00 2001 From: Andrew Newdigate Date: Thu, 1 Nov 2018 13:16:21 +0000 Subject: Leak memory, spin cpu and kill the process --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 4764b85cc30..d214356f3e9 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -83,7 +83,10 @@ Rails.application.routes.draw do draw :operations draw :instance_statistics + get '/chaos/leakmem' => 'chaos#leakmem' + get '/chaos/cpuspin' => 'chaos#cpuspin' get '/chaos/sleep' => 'chaos#sleep' + get '/chaos/kill' => 'chaos#kill' end draw :api -- cgit v1.2.1