Skip to content

Fixed the integration tests by skipping "data_extension.my_test" stream#85

Open
RushiT0122 wants to merge 1 commit intomasterfrom
TDL-18933-Fix-Integration-Test-Failures
Open

Fixed the integration tests by skipping "data_extension.my_test" stream#85
RushiT0122 wants to merge 1 commit intomasterfrom
TDL-18933-Fix-Integration-Test-Failures

Conversation

@RushiT0122
Copy link

Description of change

  • Integration tests were failing because data_extension.my_test stream is not returning any records. So added the stream into the skipped stream
  • Above stream will be skipped for tests other than discovery

Manual QA steps

  • Integration tests in CCi should pass

Risks

Rollback steps

  • revert this branch

}

def streams_to_select(self):
def streams_to_select(self, is_discovery=False):
Copy link
Contributor

Choose a reason for hiding this comment

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

Defining this logic in base in an anti-pattern. We should not abstract away the streams under test. It should be defined at the test level.

if is_discovery:
return set(self.expected_metadata().keys())

return set(self.expected_metadata().keys()) - {'event', 'list_subscriber', 'subscriber', 'data_extension.my_test'}
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you investigate why this stream is now failing? Is this a problem with test data, or a problem with the tap? When we lose coverage on a stream we need to root cause the issue. If the root cause cannot be easily determined then a backlog ticket should be created to investigate the issue.

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.

2 participants