Grader for AMQP exercise
This grader uses Testcontainers which needs Docker.
On Windows this means that the Docker engine must be running.
To launch the tool locally, run com.github.lernejo.korekto.toolkit.launcher.GradingJobLauncher
with the
argument -s=mySlug
mvn compile exec:java -Dexec.args="-s=yourGitHubLogin"
Timeouts are overridable using the following system properties:
-Dserver_start_timeout=40
to wait at most 50 sec for the server to start-Dqueue_read_timeout=4
to await at most 4 sec for reading messages from the queue
When using the grader a lot, GitHub may block API calls for a certain amount of time (criterias change regularly). This is because by default GitHub API are accessed anonymously.
To increase the API usage quota, use a Personal Access Token in order to access GitHub APIs authenticated.
Such a token can be supplied to the grader tool through the system property : -Dgithub_token=<your token>
Like so:
mvn compile exec:java -Dexec.args="-s=yourGitHubLogin" -Dgithub_token=<your token>