Skip to content

Commit

Permalink
fixup! Improve search functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGoumX committed Nov 8, 2020
1 parent a84e9f4 commit f8bd50a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ var (
"/tube?server=" + bstk + "&tube=default&state=ready&action=kickJob&jobid=badID", // Kick job by given ID with no exits ID
"/tube?server=not_exist_server_addr&tube=default&state=ready&action=kickJob&jobid=1", // Kick job by given ID with no exits server
"/tube?server=" + bstk + "&tube=default&action=loadSample&key=97ec882fd75855dfa1b4bd00d4a367d4&redirect=tube&action=manageSamples", // Load sample job by given key
"/tube?server=" + bstk + "&tube=aurora_test&state=&action=search&limit=25&searchStr=t", // Search job
"/tube?server=" + bstk + "&tube=aurora_test&state=&action=search&limit=25&searchStr=t&id=", // Search job
"/tube?server=" + bstk + "&tube=aurora_test&state=delayed&action=search&limit=25&searchStr=t&id=", // Search job by state
"/tube?server=" + bstk + "&tube=aurora_test&state=&action=search&limit=25&searchStr=t&id=1", // Search job by id
"/tube?server=" + bstk + "&tube=aurora_test&state=&action=search&limit=25&searchStr=t&id=test", // Search job by id that is not number
"/tube?server=" + bstk + "&tube=aurora_test&state=&action=search&limit=25&searchStr=match", // Search job with not match string
"/tube?server=" + bstk + "&tube=aurora_test&action=moveJobsTo&destState=buried&state=ready", // Move job from ready to buried state
"/tube?server=not_exist_server_addr&tube=aurora_test&action=moveJobsTo&destState=buried&state=ready", // Move job from ready to buried state with no exits server
Expand Down

0 comments on commit f8bd50a

Please sign in to comment.