Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear all require caches in between test runs #1080

Merged
merged 7 commits into from Nov 25, 2020

Conversation

dmanjunath
Copy link
Contributor

Trello Card Link

None

Description

We should clear all the require caches in between test runs

Services

  • Discovery Provider
  • Creator Node
  • Identity Service
  • Libs
  • Contracts
  • Service Commands
  • Mad Dog

Does it touch a critical flow like Discovery indexing, Creator Node track upload, Creator Node gateway, or Creator Node file system?

Delete an option.

  • ✅ Nope

How Has This Been Tested?

Ran tests locally and verify it passes

@@ -3,7 +3,7 @@ const path = require('path')

const { sequelize } = require('./models')

function runMigrations () {
async function runMigrations () {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not related at all. i honestly dont know how this is working now without the async here

Copy link
Contributor

@SidSethi SidSethi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two great finds

@dmanjunath dmanjunath merged commit 87b18c8 into master Nov 25, 2020
@dmanjunath dmanjunath deleted the dm-cn-test-clear-cache branch November 25, 2020 22:19
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.

None yet

2 participants