feature (server): add new error codes for downstream workers DAG (#2275)
This commit is contained in:
5 files changed
+44
No files matched your search
@@ -312,6 +312,21 @@ func TestCode_Both_String_Info(t *testing.T) {
|
||||
c: UnexpectedRowsAffected,
|
||||
want: UnexpectedRowsAffected,
|
||||
},
|
||||
{
|
||||
name: "NoPathFound",
|
||||
c: NoPathFound,
|
||||
want: NoPathFound,
|
||||
},
|
||||
{
|
||||
name: "CycleFound",
|
||||
c: CycleFound,
|
||||
want: CycleFound,
|
||||
},
|
||||
{
|
||||
name: "WorkerNotFound",
|
||||
c: WorkerNotFound,
|
||||
want: WorkerNotFound,
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user