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

	jid := jobworker.GetPendingJids("parsebin")

	jobworker.MoveJidToProcessingSet("parsebin", jid)

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

	jid := jobworker.GetPendingJids("parsebin")

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

	color.Cyan(out)

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

	out := jobworker.GetPendingJids("parsebin")

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