Skip to content

Conversation

sharkAndshark
Copy link
Contributor

No description provided.

@sharkAndshark
Copy link
Contributor Author

Not sure why this happened. We've empty the test table before test already.

        [SetUp]
        public void Setup()
        {
            using (var db = new PostGisTestDataConnection(TestDatabaseConnectionString))
            {
                db.TestGeometries.Delete();
                db.TestGeographies.Delete();
            }
        }
 X TestSTAffine2D [253ms]
  Error Message:
   Npgsql.PostgresException : 23505: duplicate key value violates unique constraint "test_geometry_pkey"
Data:
  Severity: ERROR
  InvariantSeverity: ERROR
  SqlState: 23505
  MessageText: duplicate key value violates unique constraint "test_geometry_pkey"
  Detail: Key (id)=(1) already exists.
  SchemaName: public
  TableName: test_geometry
  ConstraintName: test_geometry_pkey
  File: nbtinsert.c
  Line: 563
  Routine: _bt_check_unique

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant