Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix failed integration tests #70

Merged
merged 2 commits into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading