This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 378 Bytes
-module(jobqueue_tests).
-author('Samuel Stauffer <samuel@lefora.com>').
-export([test/0]).
% -import(jobqueue, [start/0, ]).
test() ->
jobqueue:start(),
{ok, JobID} = jobqueue:insert_job("test", <<"foo">>, "", 0, 0, ""),
io:format("Created job ~p~n", [JobID]),
Job = jobqueue:find_job(["test"]),
io:format("Grabbed job ~p~n", [Job]),
jobqueue:stop().