{"action":"created","issue":{"url":"https://api.github.com/repos/klarna/ponos/issues/3","labels_url":"https://api.github.com/repos/klarna/ponos/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/klarna/ponos/issues/3/comments","events_url":"https://api.github.com/repos/klarna/ponos/issues/3/events","html_url":"https://github.com/klarna/ponos/issues/3","id":71330832,"number":3,"title":"Some load specs don't generate any load","user":{"login":"alco","id":207748,"avatar_url":"https://avatars.githubusercontent.com/u/207748?v=3","gravatar_id":"","url":"https://api.github.com/users/alco","html_url":"https://github.com/alco","followers_url":"https://api.github.com/users/alco/followers","following_url":"https://api.github.com/users/alco/following{/other_user}","gists_url":"https://api.github.com/users/alco/gists{/gist_id}","starred_url":"https://api.github.com/users/alco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alco/subscriptions","organizations_url":"https://api.github.com/users/alco/orgs","repos_url":"https://api.github.com/users/alco/repos","events_url":"https://api.github.com/users/alco/events{/privacy}","received_events_url":"https://api.github.com/users/alco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/klarna/ponos/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jool","id":357358,"avatar_url":"https://avatars.githubusercontent.com/u/357358?v=3","gravatar_id":"","url":"https://api.github.com/users/jool","html_url":"https://github.com/jool","followers_url":"https://api.github.com/users/jool/followers","following_url":"https://api.github.com/users/jool/following{/other_user}","gists_url":"https://api.github.com/users/jool/gists{/gist_id}","starred_url":"https://api.github.com/users/jool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jool/subscriptions","organizations_url":"https://api.github.com/users/jool/orgs","repos_url":"https://api.github.com/users/jool/repos","events_url":"https://api.github.com/users/jool/events{/privacy}","received_events_url":"https://api.github.com/users/jool/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-27T16:06:37Z","updated_at":"2015-09-07T10:35:25Z","closed_at":"2015-09-07T10:35:15Z","body":"Take this simple example:\r\n\r\n```erlang\r\nArgs = [\r\n  {name, unique_name},\r\n  {task, fun() -> io:format(\"hi~n\", []) end,\r\n  {load_spec, ponos_load_specs:make_sawtooth(1, 10)},\r\n  {options: [{duration, 10000}]}\r\n],\r\nponos:add_load_generators([Args]),\r\nponos:init_load_generators().\r\n```\r\n\r\nThis doesn't produce any output. I see this behaviour with `make_sawtooth` and `make_triangle`. What happens is those functions generate `0.0` intensity the first time, which prevents any future calls (due to [this condition](https://github.com/klarna/ponos/blob/e62beefc081d65c3ae7ee766672f2123f0b7d430/src/ponos_load_generator.erl#L304-L305), I assume)."},"comment":{"url":"https://api.github.com/repos/klarna/ponos/issues/comments/138266681","html_url":"https://github.com/klarna/ponos/issues/3#issuecomment-138266681","issue_url":"https://api.github.com/repos/klarna/ponos/issues/3","id":138266681,"user":{"login":"jool","id":357358,"avatar_url":"https://avatars.githubusercontent.com/u/357358?v=3","gravatar_id":"","url":"https://api.github.com/users/jool","html_url":"https://github.com/jool","followers_url":"https://api.github.com/users/jool/followers","following_url":"https://api.github.com/users/jool/following{/other_user}","gists_url":"https://api.github.com/users/jool/gists{/gist_id}","starred_url":"https://api.github.com/users/jool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jool/subscriptions","organizations_url":"https://api.github.com/users/jool/orgs","repos_url":"https://api.github.com/users/jool/repos","events_url":"https://api.github.com/users/jool/events{/privacy}","received_events_url":"https://api.github.com/users/jool/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T10:35:25Z","updated_at":"2015-09-07T10:35:25Z","body":"Solved in 1.4.0."}}