Skip to content

Commit

Permalink
refactor: error message for create enterprise allocation test.
Browse files Browse the repository at this point in the history
  • Loading branch information
yash10019coder committed Sep 5, 2024
1 parent 4640200 commit 7c35edc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ func TestCreateEnterpriseAllocation(testSetup *testing.T) {
output, err = createNewEnterpriseAllocationWithoutRetry(t, configPath, utils.CreateParams(options))
require.NotNil(t, err, strings.Join(output, "\n"))
require.True(t, len(output) > 0, "expected output length be at least 1")
require.Equal(t, "Error creating allocation: allocation_creation_failed: invalid request: insufficient allocation size", output[0], strings.Join(output, "\n"))
require.Equal(t, "Error creating allocation:allocation_creation_failed: invalid request: insufficient allocation size", output[0], strings.Join(output, "\n"))
})

t.Run("Create enterprise allocation with no parameter (missing lock) Should Fail", func(t *test.SystemTest) {
Expand Down

0 comments on commit 7c35edc

Please sign in to comment.