Skip to content

geo/geomfn: TestAngle{,LineString} fail on s390x #145985

@rickystewart

Description

@rickystewart

How to gain access to an s390x machine for testing (Internal link)

--- FAIL: TestAngle (0.00s)
    --- FAIL: TestAngle/POINT_(0_0),_POINT_(0_1),_POINT_(0_0),_POINT_(1_1) (0.00s)
        angle_test.go:61:
                Error Trace:    pkg/geo/geomfn/angle_test.go:61
                Error:          Not equal:
                                expected: 0.7853981633974483
                                actual  : 0.7853981633974484
                Test:           TestAngle/POINT_(0_0),_POINT_(0_1),_POINT_(0_0),_POINT_(1_1)
    --- FAIL: TestAngle/POINT_(10_10),_POINT_(10_11),_POINT_(-100_-100),_POINT_(-99_-99) (0.00s)
        angle_test.go:61:
                Error Trace:    pkg/geo/geomfn/angle_test.go:61
                Error:          Not equal:
                                expected: 0.7853981633974483
                                actual  : 0.7853981633974484
                Test:           TestAngle/POINT_(10_10),_POINT_(10_11),_POINT_(-100_-100),_POINT_(-99_-99)
--- FAIL: TestAngleLineString (0.00s)
    --- FAIL: TestAngleLineString/LINESTRING_(0_0,_0_1),_LINESTRING_(0_0,_1_1) (0.00s)
	angle_test.go:137:
		Error Trace:    pkg/geo/geomfn/angle_test.go:137
		Error:          Not equal:
				expected: 0.7853981633974483
				actual  : 0.7853981633974484
		Test:           TestAngleLineString/LINESTRING_(0_0,_0_1),_LINESTRING_(0_0,_1_1)
    --- FAIL: TestAngleLineString/LINESTRING_(10_10,_10_11),_LINESTRING_(-100_-100,_-99_-99) (0.00s)
	angle_test.go:137:
		Error Trace:    pkg/geo/geomfn/angle_test.go:137
		Error:          Not equal:
				expected: 0.7853981633974483
				actual  : 0.7853981633974484
		Test:           TestAngleLineString/LINESTRING_(10_10,_10_11),_LINESTRING_(-100_-100,_-99_-99)

Jira issue: CRDB-50316

Epic CRDB-21133

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions