Skip to content

Commit

Permalink
fix: test e2e
Browse files Browse the repository at this point in the history
Signed-off-by: aimuz <mr.imuz@gmail.com>
  • Loading branch information
aimuz committed Jul 12, 2023
1 parent d2bb1dc commit 26c540d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/gameserverallocation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ func TestGameServerAllocationMetaDataPatch(t *testing.T) {
result, err = framework.AgonesClient.AllocationV1().GameServerAllocations(framework.Namespace).Create(ctx, gsa.DeepCopy(), metav1.CreateOptions{})
log.WithField("result", result).WithError(err).Info("Failed allocation")
require.Error(t, err)
require.Contains(t, err.Error(), "GameServerAllocation is invalid")
require.Contains(t, err.Error(), `GameServerAllocation.allocation.agones.dev "" is invalid`)
}

func TestGameServerAllocationPreferredSelection(t *testing.T) {
Expand Down

0 comments on commit 26c540d

Please sign in to comment.