We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5998e commit 0372f31Copy full SHA for 0372f31
flyteadmin/pkg/manager/impl/resources/resource_manager_test.go
@@ -969,6 +969,9 @@ func TestListAllResources(t *testing.T) {
969
ResourceType: admin.MatchableResource_CLUSTER_RESOURCE,
970
})
971
assert.Error(t, resourceError)
972
+ var newError errors.FlyteAdminError
973
+ assert.ErrorAs(t, resourceError, &newError)
974
+ assert.Equal(t, newError.Error(), "resourceError")
975
976
db.ResourceRepo().(*mocks.MockResourceRepo).ListAllFunction = func(ctx context.Context, resourceType string) (
977
[]models.Resource, error) {
0 commit comments