Example #1
0
func TesTMovingJid(t *testing.T) {

	jid := jobworker.GetPendingJids("parsebin")

	jobworker.MoveJidToProcessingSet("parsebin", jid)

	color.Green("%v", jid)
}
Example #2
0
func TesTGettingJobInfo(t *testing.T) {

	jid := jobworker.GetPendingJids("parsebin")

	out := jobworker.GetJobInfo("parsebin", jid)

	color.Cyan(out)

}
Example #3
0
func TesTGettingRandomJids(t *testing.T) {

	out := jobworker.GetPendingJids("parsebin")

	color.Green("%v", out)
}