Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Datastore tests fail if there's invalid entities in the DB #2469

@gguuss

Description

@gguuss

Repro:

  • Create an entity in the visits table with empty IP address
  • Run the tests
  • Fail!

Fix:

  • Remove entities with empty IP addresses
  • Run the tests
  • Success!

I am not sure who the right person to update this is but we should either clean up the visit entities before running the test or make the tests resilient to empty IPs.

Metadata

Metadata

Assignees

Labels

Fixitapi: datastoreIssues related to the Datastore API.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions