Skip to content
代码片段 群组 项目
  • Simon Tomlinson's avatar
    3d21e79f
    Fix migration specs leaving rows after running · 3d21e79f
    Simon Tomlinson 创作于
    Rather than using transactional tests, migration testing migrates the
    database up after each test, and manually cleans each table.
    
    This could pollute rows into the postgres_async_foreign_key_validations
    table during a test run, since migrating up happened after cleaning all
    tables.
    
    Instead, clean tables after migrating to delete these rows.
    3d21e79f
    历史
    Fix migration specs leaving rows after running
    Simon Tomlinson 创作于
    Rather than using transactional tests, migration testing migrates the
    database up after each test, and manually cleans each table.
    
    This could pollute rows into the postgres_async_foreign_key_validations
    table during a test run, since migrating up happened after cleaning all
    tables.
    
    Instead, clean tables after migrating to delete these rows.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。