diff --git a/events/subscriber.go b/events/subscriber.go index 234c8089..aa67abcc 100644 --- a/events/subscriber.go +++ b/events/subscriber.go @@ -8,7 +8,7 @@ type EventSubscriber interface { Receive(Event) } -// Subscriber represents an object which recieves events through the Event bus +// Subscriber represents an object which receives events through the Event bus // through its receive channel. type Subscriber struct { Rx chan Event diff --git a/integration_tests/tests/test_tasks/run.sh b/integration_tests/tests/test_tasks/run.sh index f7ba6a95..98a873e8 100755 --- a/integration_tests/tests/test_tasks/run.sh +++ b/integration_tests/tests/test_tasks/run.sh @@ -45,7 +45,7 @@ check "task3" 6 6 # in task4 we don't know the exact number of runs because shutdown can # take a long time and this would make the test flaky. instead we assert # that we have >1 run and that the runs are at least 1 second apart (to -# ensure we're not just continously restarting). +# ensure we're not just continuously restarting). task4runs=$(wc -l < "$APP_ID.task4" | tr -d '[:space:]') task4steps=$(cut -f1 -d'.' < "$APP_ID.task4" | uniq -c | wc -l | tr -d '[:space:]') if [[ "$task4runs" -lt 2 ]] || [[ "$task4runs" -ne "$task4steps" ]]; then