Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCAI-mlv committed Aug 27, 2024
1 parent 4ee5ac2 commit 651ff3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public List<ConsumerGroupResetOffsetsResponse> resetOffsets(String namespace, St
consumerGroupResetOffsets.getSpec().getMethod());

if (!dryrun) {
sendEventLog(consumerGroupResetOffsets, ApplyStatus.changed, null, consumerGroupResetOffsets.getSpec(), "");
sendEventLog(consumerGroupResetOffsets, ApplyStatus.changed, null,
consumerGroupResetOffsets.getSpec(), "");
consumerGroupService.alterConsumerGroupOffsets(ns, consumerGroup, preparedOffsets);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public Mono<HttpResponse<Void>> delete(String namespace,
sendEventLog(deletedSchema, ApplyStatus.deleted, deletedSchema.getSpec(), null,
version.map(v -> "").orElseGet(() -> String.valueOf(deletedVersionIds)));
return HttpResponse.noContent();
});
});
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,6 @@ void shouldDeleteSchemaAllVersions() {
@Test
void shouldDeleteSchemaSpecificVersion() {
Namespace namespace = buildNamespace();
SchemaResponse schemaResponse = buildSchemaResponse("prefix.schema-one-value");
SchemaCompatibilityResponse compatibilityResponse = buildCompatibilityResponse();

when(schemaRegistryClient.deleteSubjectVersion(namespace.getMetadata().getCluster(),
"prefix.schema-one-value", "2", false)).thenReturn(Mono.just(2));

Expand Down

0 comments on commit 651ff3c

Please sign in to comment.