MapColonies / MapColonies/opa-la

auth-manager: Improve teardown test configuration

Open
#46 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
1d 3h
Merged PRs (30d)
4

Description

Overview:
when running the integration test it put some generated data into a configurable bucket on S3.

What happens:
If it is a new container, it will pass as expected, but if you run the test again on the same bucket with the data, it will fail.

solution:
empty bucket after the test suite for example, or use random bucket name creation

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the integration test setup and teardown entry points, then identify where the configurable S3 bucket receives generated data. Re-run the integration test against a bucket containing prior data to reproduce the failure. Done means repeated runs pass without stale generated data causing failures, either through cleanup or isolated bucket names.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.