Skip to content

Commit

Permalink
Fix faulty git merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nagygergo committed Oct 9, 2024
1 parent dafae80 commit c6f2991
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2520,43 +2520,3 @@ func (t *PorchSuite) TestLargePackageRevision(ctx context.Context) {

t.UpdateE(ctx, &prr)
}

func (t *PorchSuite) TestLargePackageRevision(ctx context.Context) {
const (
repository = "large-pkg-rev"
)

t.registerMainGitRepositoryF(ctx, repository)
pr := porchapi.PackageRevision{
TypeMeta: metav1.TypeMeta{
Kind: porchapi.PackageRevisionGVR.Resource,
APIVersion: porchapi.SchemeGroupVersion.String(),
},
ObjectMeta: metav1.ObjectMeta{
Namespace: t.namespace,
},
Spec: porchapi.PackageRevisionSpec{
PackageName: "new-package",
WorkspaceName: "workspace",
RepositoryName: repository,
Tasks: []porchapi.Task{
{
Type: porchapi.TaskTypeInit,
Init: &porchapi.PackageInitTaskSpec{
Description: "this is a test",
},
},
},
},
}

t.CreateE(ctx, &pr)

var prr porchapi.PackageRevisionResources

t.GetE(ctx, client.ObjectKey{Name: pr.Name, Namespace: pr.Namespace}, &prr)

prr.Spec.Resources["largefile.txt"] = strings.Repeat("a", 4*1024*1024)

t.UpdateE(ctx, &prr)
}

0 comments on commit c6f2991

Please sign in to comment.