Exemplo n.º 1
0
func TesTMovingJid(t *testing.T) {

	jid := jobworker.GetPendingJids("parsebin")

	jobworker.MoveJidToProcessingSet("parsebin", jid)

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

	jid := jobworker.GetPendingJids("parsebin")

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

	color.Cyan(out)

}
Exemplo n.º 3
0
func TesTGettingRandomJids(t *testing.T) {

	out := jobworker.GetPendingJids("parsebin")

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