Skip to content

feat: Extensive testing for delete-stale#1175

Merged
kodiakhq[bot] merged 20 commits intomainfrom
feat/test/delete-stale
Aug 31, 2023
Merged

feat: Extensive testing for delete-stale#1175
kodiakhq[bot] merged 20 commits intomainfrom
feat/test/delete-stale

Conversation

@candiduslynx
Copy link
Copy Markdown
Contributor

@candiduslynx candiduslynx commented Aug 30, 2023

Add extensive test for delete-stale scenario.
Tested via cloudquery/cloudquery#13477

We are now testing a delete-stale case verifying the amount of records after each time we write data.
This way we can ensure that the data is properly handled by the destinations that support delete-stale requests.
Additionally, the test uses the table schema generated based on the suite options.

@candiduslynx candiduslynx force-pushed the feat/test/delete-stale branch from f632113 to 9d42b71 Compare August 30, 2023 10:25
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage: 2.29% and project coverage change: -0.26% ⚠️

Comparison is base (8df5be0) 48.71% compared to head (bae4034) 48.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1175      +/-   ##
==========================================
- Coverage   48.71%   48.46%   -0.26%     
==========================================
  Files          87       87              
  Lines        8080     8124      +44     
==========================================
+ Hits         3936     3937       +1     
- Misses       3787     3830      +43     
  Partials      357      357              
Files Changed Coverage Δ
plugin/testing_write.go 0.00% <0.00%> (ø)
plugin/testing_write_delete.go 0.00% <0.00%> (ø)
internal/memdb/memdb.go 73.68% <100.00%> (+0.17%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@candiduslynx candiduslynx self-assigned this Aug 30, 2023
@candiduslynx candiduslynx marked this pull request as draft August 30, 2023 11:38
@candiduslynx candiduslynx marked this pull request as draft August 30, 2023 11:38
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 30, 2023

⏱️ Benchmark results

Comparing with 8df5be0

  • Glob-8 ns/op: 101.4 ⬇️ 1.28% decrease vs. 8df5be0

@candiduslynx candiduslynx marked this pull request as ready for review August 30, 2023 16:36
@github-actions github-actions bot added feat and removed feat labels Aug 30, 2023
@github-actions github-actions bot added feat and removed feat labels Aug 31, 2023
@github-actions github-actions bot added feat and removed feat labels Aug 31, 2023
@kodiakhq kodiakhq bot merged commit 304e4eb into main Aug 31, 2023
@kodiakhq kodiakhq bot deleted the feat/test/delete-stale branch August 31, 2023 08:17
kodiakhq bot pushed a commit that referenced this pull request Aug 31, 2023
🤖 I have created a release *beep* *boop*
---


## [4.6.0](v4.5.7...v4.6.0) (2023-08-31)


### Features

* Extensive testing for `delete-stale` ([#1175](#1175)) ([304e4eb](304e4eb))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants