Skip to content

Commit

Permalink
turn off csv feed issuance (#2174)
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub authored Nov 13, 2024
1 parent e37dd16 commit 0f2cfe5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ export class CSVPipeline implements BasePipeline {

private async issue(req: PollFeedRequest): Promise<PollFeedResponseValue> {
return traced(LOG_NAME, "issue", async (span) => {
if (Math.random() < 1000) {
return {
actions: []
};
}

logger(LOG_TAG, `issue`, req);
tracePipeline(this.definition);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ export class CSVTicketPipeline implements BasePipeline {

private async issue(req: PollFeedRequest): Promise<PollFeedResponseValue> {
return traced(LOG_NAME, "issue", async (span) => {
if (Math.random() < 1000) {
return {
actions: []
};
}

logger(LOG_TAG, `issue`, req);
tracePipeline(this.definition);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { setupTestCSVTicketPipelineDefinition } from "./setupTestCSVTicketPipeli
/**
* Tests for {@link GenericIssuanceService}, in particular the {@link CSVTicketPipeline}.
*/
describe("generic issuance - CSVTicketPipeline", function () {
describe.skip("generic issuance - CSVTicketPipeline", function () {
const nowDate = new Date();
const now = Date.now();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { setupTestCSVPipelineDefinition } from "./setupTestCSVPipelineDefinition
/**
* Tests for {@link GenericIssuanceService}, in particular the {@link CSVPipeline}.
*/
describe("generic issuance - CSVPipeline", function () {
describe.skip("generic issuance - CSVPipeline", function () {
const nowDate = new Date();
const now = Date.now();

Expand Down

0 comments on commit 0f2cfe5

Please sign in to comment.