Skip to content

Conversation

fmeheust
Copy link
Contributor

This PR adds GitHub actions to run all passing tests. Failing and dependent tests have been disabled.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 12, 2025
@fmeheust fmeheust requested a review from ting-lan-wang August 12, 2025 20:13
}

func TestDeleteWithLimitAndOrder(t *testing.T) {
DB.Exec(`DROP TABLE "users"`).Commit()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a condition to ignore the error if the table doesn't exist and returns ORA-00942?

if err := DB.Exec(`DROP TABLE "users"`).Commit().Error; err != nil {
		if !strings.Contains(err.Error(), "ORA-00942") {
			t.Fatalf("Failed to migrate, got error: %s", err)
		}
}

ting-lan-wang
ting-lan-wang previously approved these changes Aug 13, 2025
Copy link
Contributor

@ting-lan-wang ting-lan-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Please take a look at the comment before merging. Thanks!

@fmeheust fmeheust merged commit 1eb2896 into main Aug 13, 2025
2 checks passed
@fmeheust fmeheust deleted the fmeheust-testing branch August 13, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants