# Tests that a push does not result in multiple changes from repeated PostReceive executions.
# One of the consequences would be duplicate push events
let(:project)do
Resource::Project.fabricate_via_api!do|project|
project.name='push-postreceive-idempotent'
project.initialize_with_readme=true
end
end
afterdo
project&.remove_via_api!
end
it'pushes and creates a single push event three times',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1744'do
verify_single_event_per_push(repeat: 3)
end
it'repeatedly pushes and creates a single push event several times',:transient,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1744'do