Skip to content

Commit

Permalink
fix failed integration tests (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
mafei6827 authored Mar 22, 2024
1 parent fba2657 commit 309680c
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class InboxAdminRPCTest extends InboxServiceTest {

@Test(groups = "integration")
public void createWithLWT() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -88,7 +88,7 @@ public void createWithLWT() {

@Test(groups = "integration")
public void createWithoutLWT() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -140,7 +140,7 @@ public void createWithoutLWT() {

@Test(groups = "integration")
public void attachNoInbox() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand All @@ -163,7 +163,7 @@ public void attachNoInbox() {

@Test(groups = "integration")
public void attachConflict() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -200,7 +200,7 @@ public void attachConflict() {

@Test(groups = "integration")
public void attachWithLWT() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -255,7 +255,7 @@ public void attachWithLWT() {

@Test(groups = "integration")
public void attachWithoutLWT() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -310,7 +310,7 @@ public void attachWithoutLWT() {

@Test(groups = "integration")
public void detachNoInbox() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand All @@ -331,7 +331,7 @@ public void detachNoInbox() {

@Test(groups = "integration")
public void detachConflict() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -364,7 +364,7 @@ public void detachConflict() {

@Test(groups = "integration")
public void detach() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down Expand Up @@ -419,7 +419,7 @@ public void detach() {

@Test(groups = "integration")
public void detachAndDiscardLWT() {
long now = System.nanoTime();
long now = System.currentTimeMillis();
long reqId = System.nanoTime();
String tenantId = "traffic-" + System.nanoTime();
String inboxId = "inbox-" + System.nanoTime();
Expand Down

0 comments on commit 309680c

Please sign in to comment.