Skip to content

Intermittent Test Failures in 3.0.0-alpha #423

Closed
@jaredcnance

Description

@jaredcnance

Description

fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
      Failed executing DbCommand (3ms) [Parameters=[@p0='?' (DbType = Int32), @p1='?'], CommandType='Text', CommandTimeout='30']
      INSERT INTO "Articles" ("AuthorId", "Name")
      VALUES (@p0, @p1)
      RETURNING "Id";
...
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> Npgsql.PostgresException: 23503: insert or update on table "Articles" violates foreign key constraint "FK_Articles_Authors_AuthorId"
...
Failed   JsonApiDotNetCoreExampleTests.Acceptance.ManyToManyTests.Can_Create_Many_To_Many
Error Message:
 /api/v1/articles returned InternalServerError status code with payload: {"errors":[{"title":"DbUpdateException","detail":"An error occurred while updating the entries. See the inner exception for details.","status":"500"}]}

https://travis-ci.org/json-api-dotnet/JsonApiDotNetCore/builds/436911634#L1278

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions