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 for issue #274 #275

Merged
14 commits merged into from
Mar 2, 2023
Merged

🐛 fix for issue #274 #275

14 commits merged into from
Mar 2, 2023

Conversation

ghost
Copy link

@ghost ghost commented Feb 28, 2023

use case for DateTimeStamp without the time stamp has been added to support logs that don't have a time stamp set. The fix is to convert the date stamp to seconds from epoch.

@ghost ghost requested a review from dsgrieve February 28, 2023 15:30
Copy link
Member

@karianna karianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add the test log :-)

@ghost
Copy link
Author

ghost commented Mar 1, 2023

This PR should be in draft mode. Sorry for not making that so.

@ghost ghost requested a review from karianna March 2, 2023 00:01
IT/pom.xml Outdated Show resolved Hide resolved
api/pom.xml Outdated Show resolved Hide resolved
gclogs/pom.xml Outdated Show resolved Hide resolved
parser/pom.xml Outdated Show resolved Hide resolved
Kirk Pepperdine and others added 7 commits March 2, 2023 06:41
…MTerminationEventTest.java

Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
…notationTest.java

Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
DateTimeStamp implements Comparable<DateTimeStamp> so delegate before and after methods to the compareTo method
IT/pom.xml Outdated Show resolved Hide resolved
api/pom.xml Outdated Show resolved Hide resolved
DateTimeStamp smaller = new DateTimeStamp(123);
DateTimeStamp greater = new DateTimeStamp(124);
assertEquals(-1, smaller.compareTo(greater));
}

/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should leave this test in, especially since the compareTo implementation hasn't changed (it should still throw an IllegalStateException). This will help flag possible changes in behavior down the road.

@@ -6,7 +6,7 @@
<parent>
<groupId>com.microsoft.gctoolkit</groupId>
<artifactId>gctoolkit</artifactId>
<version>3.0.3-SNAPSHOT</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Back this change out.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

parser/pom.xml Outdated
@@ -5,7 +5,7 @@
<parent>
<groupId>com.microsoft.gctoolkit</groupId>
<artifactId>gctoolkit</artifactId>
<version>3.0.3-SNAPSHOT</version>
<version>3.0.3</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Back this change out.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

pom.xml Outdated Show resolved Hide resolved
sample/pom.xml Outdated Show resolved Hide resolved
vertx/pom.xml Outdated Show resolved Hide resolved
@ghost ghost merged commit 435918f into main Mar 2, 2023
@dsgrieve dsgrieve deleted the 274 branch November 22, 2024 13:24
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants