Skip to content
Snippets Groups Projects
Select Git revision
  • 6270-restore-partition
  • master default protected
  • activate-bundle-uri-generation
  • feat/repo-assignment-migration
  • kn-fix-migration-context
  • fix_catfile_cache
  • 6312-rollout-featureflag-to-set-ref-format-to-reftable
  • 6659-cleanup-dry-run-code-in-the-migration-manager
  • 6628-persistent-routing-table
  • eju/gitaly/6506/6640/prepare-offloading
  • qmnguyen0711/add-go-1.24-to-test-matrix
  • qmnguyen0711/integrate-etcd-raft-with-transactions-v2
  • sh-limit-praefect-connection-age
  • ec/raft-snapshotting-streaming
  • jc/my-branch
  • mbayar/bump-minimum-go-version
  • jliu/bump-module-version-to-v17
  • mb-fix-crypto-vuln
  • 17-7-stable protected
  • 17-8-stable protected
  • v17.7.6 protected
  • v17.8.4 protected
  • v17.9.1 protected
  • v17.8.3 protected
  • v17.7.5 protected
  • v17.9.0 protected
  • v17.9.0-rc42 protected
  • v17.6.5 protected
  • v17.7.4 protected
  • v17.8.2 protected
  • v17.6.4 protected
  • v17.7.3 protected
  • v17.8.1 protected
  • v17.8.0 protected
  • v17.7.2 protected
  • v17.8.0-rc42 protected
  • v17.5.5 protected
  • v17.6.3 protected
  • v17.7.1 protected
  • v17.7.0 protected
40 results

simulation_bucket.go

  • Eric Ju's avatar
    8fdefe68
    offloading: Add a mock bucket for simulation delay response · 8fdefe68
    Eric Ju authored
    We have retry and cancel support in the offloading sink. In order
    test those, we have to mock a bucket that can simulate delay and error.
    
    In this commit, we add a mock bucket. The bucket is based on fileblob
    bucket but intercept its response with cuostizable delay and error.
    With such simulation, we can write test cases to examine the
    offloading sink's behavior under long delay and frequent error.
    8fdefe68
    History
    offloading: Add a mock bucket for simulation delay response
    Eric Ju authored
    We have retry and cancel support in the offloading sink. In order
    test those, we have to mock a bucket that can simulate delay and error.
    
    In this commit, we add a mock bucket. The bucket is based on fileblob
    bucket but intercept its response with cuostizable delay and error.
    With such simulation, we can write test cases to examine the
    offloading sink's behavior under long delay and frequent error.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.