Skip to content

Instantly share code, notes, and snippets.

View spmallette's full-sized avatar

stephen mallette spmallette

View GitHub Profile
$ git diff --ignore-all-space
diff --git a/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Interpreter.groovy b/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Interpreter.groovy
index 52302f3c30..bb0bd1d826 100644
--- a/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Interpreter.groovy
+++ b/subprojects/groovy-groovysh/src/main/groovy/org/codehaus/groovy/tools/shell/Interpreter.groovy
@@ -96,7 +96,9 @@ class Interpreter implements Evaluator
}
finally {
// Remove the script class generated
+ if (type?.name) {
{id=0, label=person, ^favor=1.0, name=jane, ^totalFavor=30.0}
{id=2, label=person, ^favor=0.6491228070175439, name=thomas, ^totalFavor=140.0}
{id=4, label=person, ^favor=0.6666666666666666, name=lisa, ^totalFavor=190.0}
{id=6, label=person, ^favor=0.23182957393483708, name=wyd, ^totalFavor=0.0}
{id=8, label=person, ^favor=0.768170426065163, name=jerryd, ^totalFavor=0.0}
07:18:08.953 [gremlin-server-worker-1] ERROR org.apache.tinkerpop.gremlin.jsr223.DefaultGremlinScriptEngineManager - GremlinScriptEngineManager providers.next(): org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngineFactory: Provider org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineFactory not a subtype
java.util.ServiceConfigurationError: org.apache.tinkerpop.gremlin.jsr223.GremlinScriptEngineFactory: Provider org.apache.tinkerpop.gremlin.groovy.jsr223.GremlinGroovyScriptEngineFactory not a subtype
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
at java.util.ServiceLoader$LazyIterator.access$700(ServiceLoader.java:323)
at java.util.ServiceLoader$LazyIterator$2.run(ServiceLoader.java:407)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:409)
at java.util.ServiceL
travis_fold:start:worker_info
Worker information
hostname: a9e8c3e9-1f04-4f3b-b109-0bdb5c2056e5@1.worker-org-676f4fdd9b-4ghmv.gce-production-2
version: v6.2.8 https://github.com/travis-ci/worker/tree/6d3048d96b26562be21fa1a8b8144f4c4cecd083
instance: travis-job-fedfca6f-6cbc-4029-8f33-64049d9e9128 travis-ci-sardonyx-xenial-1582021189-ed2d6fb2 (via amqp)
startup: 6.321786906s
travis_fold:end:worker_info
travis_time:start:12323274
travis_time:end:12323274:start=1591787171080381506,finish=1591787171259676815,duration=179295309,event=no_world_writable_dirs
travis_time:start:00550d70
[exec] =================================== FAILURES ===================================
[exec] _____________ TestGraphSONReader.test_datetime[utctimetuple-None] ______________
[exec]
[exec] self = <tests.structure.io.test_graphsonV2d0.TestGraphSONReader object at 0x7f7ad6718410>
[exec] tz = None, pts_fn = <function <lambda> at 0x7f7ad67030d0>
[exec]
[exec] @pytest.mark.parametrize("tz", [None, "UTC", "Europe/London", "US/Eastern"])
[exec] def test_datetime(self, tz, pts_fn):
[exec] with patch.dict(os.environ):
[exec] if tz:
@spmallette
spmallette / metrics-with-type.txt
Last active May 12, 2020 15:11
metrics in 4 but not 3
BufferPool-Misses
BufferPool-Size
CQL-PreparedStatementsCount
CQL-PreparedStatementsEvicted
CQL-PreparedStatementsExecuted
CQL-PreparedStatementsRatio
CQL-RegularStatementsExecuted
Cache-Capacity
Cache-Entries
Cache-FifteenMinuteHitRate
$ sdk list java
================================================================================
Available Java Versions
================================================================================
Vendor | Use | Version | Dist | Status | Identifier
--------------------------------------------------------------------------------
AdoptOpenJDK | | 14.0.0.j9 | adpt | | 14.0.0.j9-adpt
| | 14.0.0.hs | adpt | | 14.0.0.hs-adpt
| | 13.0.2.j9 | adpt | | 13.0.2.j9-adpt
| | 13.0.2.hs | adpt | | 13.0.2.hs-adpt
coderay$ bundle exec rake clean install:local
asciidoctorj$ ./gradlew clean publishToMavenLocal -Pskip.signing
sbt-site$ clean sbt publishLocal
[xUnit.net 00:00:01.4504369] Gremlin.Net.IntegrationTest.Process.Traversal.DriverRemoteConnection.GraphTraversalSourceTests.ShouldHandleLambdasInWithSack [FAIL]
X Gremlin.Net.IntegrationTest.Process.Traversal.DriverRemoteConnection.GraphTraversalSourceTests.ShouldHandleLambdasInWithSack [155ms]
Error Message:
Gremlin.Net.Driver.Exceptions.ResponseException : ServerError:
Stack Trace:
at Gremlin.Net.Driver.Messages.ResponseStatusExtensions.ThrowIfStatusIndicatesError(ResponseStatus status) in /home/travis/build/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/Messages/ResponseStatus.cs:line 48
at Gremlin.Net.Driver.Connection.ReceiveAsync[T]() in /home/travis/build/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/Connection.cs:line 97
at Gremlin.Net.Driver.Connection.SubmitAsync[T](RequestMessage requestMessage) in /home/travis/build/apache/tinkerpop/gremlin-dotnet/src/Gremlin.Net/Driver/Connection.cs:line 61
at Gremlin.Net.Driver.ProxyConnection.SubmitAsync[T](RequestMe
hosts: [localhost]
port: 8182
serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GraphBinaryMessageSerializerV1 }
connectionPool: { maxInProcessPerConnection: 128 }